diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-28 16:11:00 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-28 16:11:00 +0200 |
commit | afa4456c1a52b1dde78aa2ffb7b89000e6212392 (patch) | |
tree | 7d0df0d69ee83d4f1e619cca5c359a9e6b46c815 /client/src | |
parent | 035038478104ded28300eb5442827b2544cd6fdb (diff) | |
download | PeerTube-afa4456c1a52b1dde78aa2ffb7b89000e6212392.tar.gz PeerTube-afa4456c1a52b1dde78aa2ffb7b89000e6212392.tar.zst PeerTube-afa4456c1a52b1dde78aa2ffb7b89000e6212392.zip |
fix typo in blocked notice in login
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+login/login.component.ts | 2 |
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 | } |