Browse Source
Merge pull request #11687 from vvlladd28/bug/show-login-error-dialog
Fixed race conditional when show login error dialog
pull/11725/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/core/auth/auth.service.ts
|
|
|
@ -350,7 +350,7 @@ export class AuthService { |
|
|
|
) |
|
|
|
); |
|
|
|
} else if (loginError) { |
|
|
|
this.showLoginErrorDialog(loginError); |
|
|
|
Promise.resolve().then(() => this.showLoginErrorDialog(loginError)); |
|
|
|
this.utils.updateQueryParam('loginError', null); |
|
|
|
return throwError(Error()); |
|
|
|
} |
|
|
|
|