diff --git a/dal/forms.py b/dal/forms.py index ecbf9bc..3a0e7e9 100644 --- a/dal/forms.py +++ b/dal/forms.py @@ -19,10 +19,12 @@ class LoginForm(forms.Form): is_auth = authenticate(username=email, password=password) if not is_auth: raise forms.ValidationError( - _("Your username and/or password were incorrect.")) + _("Your username and/or password were incorrect.") + ) elif is_auth.validated == 0: raise forms.ValidationError( - _("Your account is not activated yet.")) + _("Your account is not activated yet.") + ) return self.cleaned_data def clean_email(self): diff --git a/dal/urls.py b/dal/urls.py index 10875b6..f977499 100644 --- a/dal/urls.py +++ b/dal/urls.py @@ -17,4 +17,4 @@ urlpatterns = [ path('reset///', ResetRequest.as_view()), path('reset/', ResetRequest.as_view(), name="reset"), path('', Index.as_view(), name="index"), -] +] \ No newline at end of file