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

@ -46,10 +46,10 @@
<input type="url" name="feed_url" id="form-feed-url" placeholder="https://domain.tld/" value="{{ .form.FeedURL }}" required>
<label for="form-username">{{ t "Feed Username" }}</label>
<input type="text" name="username" id="form-username" value="{{ .form.Username }}">
<input type="text" name="feed_username" id="form-username" value="{{ .form.Username }}" autocomplete="new-password">
<label for="form-password">{{ t "Feed Password" }}</label>
<input type="password" name="password" id="form-password" value="{{ .form.Password }}">
<input type="password" name="feed_password" id="form-password" value="{{ .form.Password }}" autocomplete="new-password">
<label for="form-scraper-rules">{{ t "Scraper Rules" }}</label>
<input type="text" name="scraper_rules" id="form-scraper-rules" value="{{ .form.ScraperRules }}">