diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-14 22:12:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-14 22:12:03 +0200 |
commit | 2e2bef6f58cd9cefcd437649b20f83a2ca996ec7 (patch) | |
tree | 66e96b3ab4f25bdb88507160d2d89a1f125825ff /client/angular/users | |
parent | 1553e15d82b8a1ec4967a90d43b33274f8215c44 (diff) | |
download | PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.gz PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.zst PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.zip |
Fix tslint check
Diffstat (limited to 'client/angular/users')
-rw-r--r-- | client/angular/users/components/login/login.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/angular/users/components/login/login.component.ts b/client/angular/users/components/login/login.component.ts index 35dea4f9b..cecf5d2fd 100644 --- a/client/angular/users/components/login/login.component.ts +++ b/client/angular/users/components/login/login.component.ts | |||
@@ -27,9 +27,8 @@ export class UserLoginComponent { | |||
27 | error => { | 27 | error => { |
28 | if (error.error === 'invalid_grant') { | 28 | if (error.error === 'invalid_grant') { |
29 | alert('Credentials are invalid.'); | 29 | alert('Credentials are invalid.'); |
30 | } | 30 | } else { |
31 | else { | 31 | alert(`${error.error}: ${error.error_description}`); |
32 | alert(`${error.error}: ${error.error_description}`) | ||
33 | } | 32 | } |
34 | } | 33 | } |
35 | ); | 34 | ); |