From 382dbcaf1a420497222002d085ae77251bafe7a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Wed, 17 Apr 2024 12:36:39 +0200 Subject: [PATCH] feat: add 'autocomplete' tag on the password form --- canaille/core/endpoints/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/canaille/core/endpoints/forms.py b/canaille/core/endpoints/forms.py index bddf7a7b..b41a74a3 100644 --- a/canaille/core/endpoints/forms.py +++ b/canaille/core/endpoints/forms.py @@ -91,6 +91,9 @@ class PasswordForm(Form): password = wtforms.PasswordField( _("Password"), validators=[wtforms.validators.DataRequired()], + render_kw={ + "autocomplete": "current-password", + }, )