diff options
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 | ); |