Merge pull request #609 from hartwork/issue-605-prevent-http-check-auth-autofill

Prevent auto-fill of saved credentials into HTTP auth fields
This commit is contained in:
David Buxton 2018-04-17 08:02:00 +01:00 committed by GitHub
commit 9ba585dfd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -228,6 +228,8 @@ class HttpStatusCheckForm(StatusCheckForm):
}),
'password': forms.PasswordInput(attrs={
'style': 'width: 30%',
# Prevent auto-fill with saved Cabot log-in credentials:
'autocomplete': 'new-password',
}),
'text_match': forms.TextInput(attrs={
'style': 'width: 100%',