summaryrefslogtreecommitdiffstats
path: root/django_authopenid/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'django_authopenid/forms.py')
-rw-r--r--django_authopenid/forms.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/django_authopenid/forms.py b/django_authopenid/forms.py
index 2fe6db74..5ec21c1c 100644
--- a/django_authopenid/forms.py
+++ b/django_authopenid/forms.py
@@ -94,7 +94,6 @@ class ClassicLoginForm(forms.Form):
self.cleaned_data[field] = value
return value
-
def clean_username(self):
return self._clean_nonempty_field('username')
@@ -103,7 +102,7 @@ class ClassicLoginForm(forms.Form):
def clean(self):
"""
- this clean function actuall cleans username and password
+ this clean function actually cleans username and password
test if password is valid for this username
this is really the "authenticate" function
@@ -118,7 +117,6 @@ class ClassicLoginForm(forms.Form):
self.user_cache = None
if username and password:
-
if settings.USE_EXTERNAL_LEGACY_LOGIN == True:
pw_ok = False
try: