Skip to content
Snippets Groups Projects
Commit 251f7b8b authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13670 TIME 0:10 fix auth err

parent ca211847
No related branches found
No related tags found
No related merge requests found
......@@ -85,10 +85,10 @@ export class LoginComponent implements OnInit {
this.loading = false;
if (err.error.errors === 'Authentication Failed') {
this.notify.error(this.lang.wrongLoginPassword);
} else if (err.error.errors === 'Account suspended') {
} else if (err.error.errors === 'Account Suspended') {
this.notify.error(this.lang.accountSuspended);
} else if (err.error.errors === 'Account locked') {
this.notify.error(this.lang.accountLocked + ' ' + this.timeLimit.transform(err.error.time));
} else if (err.error.errors === 'Account Locked') {
this.notify.error(this.lang.accountLocked + ' ' + this.timeLimit.transform(err.error.date));
} else {
this.notify.handleSoftErrors(err);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment