1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-27 17:28:38 +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:
Frédéric Guillot 2018-06-30 18:05:51 -07:00
parent 240f801755
commit cc1e4f916f
10 changed files with 50 additions and 50 deletions

View file

@ -32,10 +32,10 @@
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" required>
<label for="form-password">{{ t "Password" }}</label>
<input type="password" name="password" id="form-password" value="{{ .form.Password }}" autocomplete="off">
<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 }}" autocomplete="off">
<input type="password" name="confirmation" id="form-confirmation" value="{{ .form.Confirmation }}" autocomplete="new-password">
<label for="form-language">{{ t "Language" }}</label>
<select id="form-language" name="language">