mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Add autocomplete="username" to HTML forms
This commit is contained in:
parent
d3cfa6396d
commit
9a4b045bdc
5 changed files with 14 additions and 14 deletions
|
@ -14,13 +14,13 @@
|
|||
{{ end }}
|
||||
|
||||
<label for="form-username">{{ t "form.user.label.username" }}</label>
|
||||
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" autocomplete="new-password" required autofocus>
|
||||
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" autocomplete="username" required autofocus>
|
||||
|
||||
<label for="form-password">{{ t "form.user.label.password" }}</label>
|
||||
<input type="password" name="password" id="form-password" value="{{ .form.Password }}" autocomplete="new-password" required>
|
||||
|
||||
<label for="form-confirmation">{{ t "form.user.label.confirmation" }}</label>
|
||||
<input type="password" name="confirmation" id="form-confirmation" value="{{ .form.Confirmation }}" required>
|
||||
<input type="password" name="confirmation" id="form-confirmation" value="{{ .form.Confirmation }}" autocomplete="new-password" required>
|
||||
|
||||
<label><input type="checkbox" name="is_admin" value="1" {{ if .form.IsAdmin }}checked{{ end }}> {{ t "form.user.label.admin" }}</label>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue