mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
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"
This commit is contained in:
parent
55a1e97778
commit
8ee4280461
3 changed files with 46 additions and 18 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue