MAPG-69 add active flag for users and check if user is active before login
This commit is contained in:
1 parent
28ed02091a
commit
66b21ec710
5 files changed
+42
-3
No files matched your search
@@ -13,7 +13,10 @@
|
||||
var errorText;
|
||||
switch (this.response.error) {
|
||||
case 'user_not_found':
|
||||
errorText = 'No user found with the given email address.';
|
||||
errorText = 'No user found with the given email address. You can <a href="/signup" title="Sign up">sign up here</a>!';
|
||||
break;
|
||||
case 'user_not_active':
|
||||
errorText = 'User found with the given email address, but the account is not activated. Please check your email and click on the activation link!';
|
||||
break;
|
||||
case 'password_not_match':
|
||||
errorText = 'The given password is wrong.'
|
||||
|
||||
Reference in new issue
Block a user