X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f6982649692cff135db303910bb7bf94205ca7f..6739afe99e21df2a3c4cf7768f967fcf72b4e514:/forum_modules/localauth/forms.py diff --git a/forum_modules/localauth/forms.py b/forum_modules/localauth/forms.py index ec59a10..961c7da 100644 --- a/forum_modules/localauth/forms.py +++ b/forum_modules/localauth/forms.py @@ -1,4 +1,4 @@ -from forum.utils.forms import NextUrlField, UserNameField, UserEmailField, SetPasswordForm +from forum.forms import NextUrlField, UserNameField, UserEmailField, SetPasswordForm from forum.models import Question from forum.modules import call_all_handlers from django.contrib.contenttypes.models import ContentType @@ -92,7 +92,7 @@ class ClassicLoginForm(forms.Form): error_list.append(_('Please enter user name')) if len(error_list) > 0: self._errors['__all__'] = forms.util.ErrorList(error_list) - + return self.cleaned_data def get_user(self):