mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Avoid Chrome to autocomplete no-login password fields
Browsers always autocomplete saved passwords even with autocomplete="off". https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
This commit is contained in:
parent
240f801755
commit
cc1e4f916f
10 changed files with 50 additions and 50 deletions
|
@ -33,13 +33,13 @@
|
|||
{{ end }}
|
||||
|
||||
<label for="form-username">{{ t "Username" }}</label>
|
||||
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" required autofocus>
|
||||
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" autocomplete="new-password" required autofocus>
|
||||
|
||||
<label for="form-password">{{ t "Password" }}</label>
|
||||
<input type="password" name="password" id="form-password" value="{{ .form.Password }}">
|
||||
<input type="password" name="password" id="form-password" value="{{ .form.Password }}" autocomplete="new-password">
|
||||
|
||||
<label for="form-confirmation">{{ t "Confirmation" }}</label>
|
||||
<input type="password" name="confirmation" id="form-confirmation" value="{{ .form.Confirmation }}">
|
||||
<input type="password" name="confirmation" id="form-confirmation" value="{{ .form.Confirmation }}" autocomplete="new-password">
|
||||
|
||||
<label><input type="checkbox" name="is_admin" value="1" {{ if .form.IsAdmin }}checked{{ end }}> {{ t "Administrator" }}</label>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue