Use field-specific validation.
This commit is contained in:
parent
4eb3ecbbd2
commit
8a3606259e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class AuthenticationForm(forms.Form):
|
|||
super(AuthenticationForm, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
def clean(self):
|
||||
def clean_password(self):
|
||||
"""
|
||||
Validate that the password entered was correct.
|
||||
"""
|
||||
|
|
Reference in a new issue