Skip to content

Commit

Permalink
Set autocomplete to "off" in form.password
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelot committed Jun 8, 2024
1 parent bbf2adb commit 3b28c35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<div class="input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
{{ form.password(size = 80, class = "form-control") }}
{{ form.password(size = 80, class = "form-control", autocomplete = "off") }}
</div>
{% for error in form.errors.get('openid', []) %}
<span class="help-inline">[{{error}}]</span><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<label class="control-label" for="password">{{_("Password")}}:</label>
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
{{ form.password(size = 80, class = "form-control") }}
{{ form.password(size = 80, class = "form-control", autocomplete = "off") }}
</div>
{% for error in form.errors.get('openid', []) %}
<span class="help-inline">[{{error}}]</span><br>
Expand Down

0 comments on commit 3b28c35

Please sign in to comment.