aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/add_subscription.html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-07-08 18:21:56 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-07-08 18:21:56 -0700
commit8ee4280461aef523677a41a358e86f4918bcffa9 (patch)
tree865cd8932521a5be452928016d196870ebbcef05 /template/html/add_subscription.html
parent55a1e97778f45058ff3407a92303f6d57c0b15fe (diff)
Change feed password field type to text to avoid autocomplete with Firefox
- Using autocomplete="off" or autocomplete="new-password" doesn't change anything - Changing the input ID doesn't change anything - Using a different input name doesn't change anything - Only Chrome supports autocomplete="new-password"
Diffstat (limited to 'template/html/add_subscription.html')
-rw-r--r--template/html/add_subscription.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/template/html/add_subscription.html b/template/html/add_subscription.html
index 6c6ef4d..5b46549 100644
--- a/template/html/add_subscription.html
+++ b/template/html/add_subscription.html
@@ -41,11 +41,18 @@
<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="feed_username" id="form-username" value="{{ .form.Username }}" autocomplete="new-password">
+ <label for="form-feed-username">{{ t "Feed Username" }}</label>
+ <input type="text" name="feed_username" id="form-feed-username" value="{{ .form.Username }}">
- <label for="form-password">{{ t "Feed Password" }}</label>
- <input type="password" name="feed_password" id="form-password" value="{{ .form.Password }}" autocomplete="new-password">
+ <label for="form-feed-password">{{ t "Feed Password" }}</label>
+ <!--
+ We are using the type "text" otherwise Firefox always autocomplete this password:
+
+ - autocomplete="off" or autocomplete="new-password" doesn't change anything
+ - Changing the input ID doesn't change anything
+ - Using a different input name doesn't change anything
+ -->
+ <input type="text" name="feed_password" id="form-feed-password" value="{{ .form.Password }}">
</fieldset>
<div class="buttons">