fix typo in blocked notice in login

pull/2915/head
Rigel Kent 2020-06-28 16:11:00 +02:00
parent 0350384781
commit afa4456c1a
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni
private handleError (err: any) {
if (err.message.indexOf('credentials are invalid') !== -1) this.error = this.i18n('Incorrect username or password.')
else if (err.message.indexOf('blocked') !== -1) this.error = this.i18n('You account is blocked.')
else if (err.message.indexOf('blocked') !== -1) this.error = this.i18n('Your account is blocked.')
else this.error = err.message
}
}