diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-06-30 18:05:51 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-30 18:05:51 -0700 |
commit | cc1e4f916f9b0eb248f4648951f8e511285c1960 (patch) | |
tree | 250941f2ec6a873cd18b9d7ca53cf608a6c56403 /template/html/add_subscription.html | |
parent | 240f8017557c356f3048d00c45c2664372d26fa9 (diff) |
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
Diffstat (limited to 'template/html/add_subscription.html')
-rw-r--r-- | template/html/add_subscription.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/html/add_subscription.html b/template/html/add_subscription.html index bff7975..6c6ef4d 100644 --- a/template/html/add_subscription.html +++ b/template/html/add_subscription.html @@ -42,10 +42,10 @@ <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "Fetch original content" }}</label> <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"> </fieldset> <div class="buttons"> |