forked from Github-Mirrors/canaille
feat: add 'autocomplete' tag on the password form
This commit is contained in:
parent
ba394af338
commit
382dbcaf1a
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ class PasswordForm(Form):
|
|||
password = wtforms.PasswordField(
|
||||
_("Password"),
|
||||
validators=[wtforms.validators.DataRequired()],
|
||||
render_kw={
|
||||
"autocomplete": "current-password",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue