reviewed changes
This commit is contained in:
parent
3081786f0b
commit
0993d8c106
7 changed files with 41 additions and 206 deletions
|
|
@ -27,7 +27,7 @@ class HostingUserLoginForm(forms.Form):
|
|||
is_auth = authenticate(email=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."))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue