feat: add 'autocomplete' tag on the password form

This commit is contained in:
Éloi Rivard 2024-04-17 12:36:39 +02:00
parent ba394af338
commit 382dbcaf1a
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -91,6 +91,9 @@ class PasswordForm(Form):
password = wtforms.PasswordField(
_("Password"),
validators=[wtforms.validators.DataRequired()],
render_kw={
"autocomplete": "current-password",
},
)