Merge branch 'task/3620/ssh_keys' of https://github.com/tiwariav/dynamicweb into bug/3638/ssh_key_without_download_option
This commit is contained in:
commit
0fa4c0ac94
8 changed files with 43 additions and 210 deletions
|
|
@ -26,7 +26,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