mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Disable Chrome's autofill for various form fields
This commit is contained in:
@@ -316,7 +316,9 @@ class MailSettingsForm(SettingsForm):
|
||||
smtp_password = forms.CharField(
|
||||
label=_("Password"),
|
||||
required=False,
|
||||
widget=forms.PasswordInput
|
||||
widget=forms.PasswordInput(attrs={
|
||||
'autocomplete': 'new-password' # see https://bugs.chromium.org/p/chromium/issues/detail?id=370363#c7
|
||||
}),
|
||||
)
|
||||
smtp_use_tls = forms.BooleanField(
|
||||
label=_("Use STARTTLS"),
|
||||
|
||||
Reference in New Issue
Block a user