aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+login/login.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts
index cbc51ee21..e5a382218 100644
--- a/client/src/app/+login/login.component.ts
+++ b/client/src/app/+login/login.component.ts
@@ -141,7 +141,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni
141 141
142 private handleError (err: any) { 142 private handleError (err: any) {
143 if (err.message.indexOf('credentials are invalid') !== -1) this.error = this.i18n('Incorrect username or password.') 143 if (err.message.indexOf('credentials are invalid') !== -1) this.error = this.i18n('Incorrect username or password.')
144 else if (err.message.indexOf('blocked') !== -1) this.error = this.i18n('You account is blocked.') 144 else if (err.message.indexOf('blocked') !== -1) this.error = this.i18n('Your account is blocked.')
145 else this.error = err.message 145 else this.error = err.message
146 } 146 }
147} 147}