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
parent
commit
c51e87f4f6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/core/auth/auth.service.ts

2
ui-ngx/src/app/core/auth/auth.service.ts

@ -350,7 +350,7 @@ export class AuthService {
) )
); );
} else if (loginError) { } else if (loginError) {
this.showLoginErrorDialog(loginError); Promise.resolve().then(() => this.showLoginErrorDialog(loginError));
this.utils.updateQueryParam('loginError', null); this.utils.updateQueryParam('loginError', null);
return throwError(Error()); return throwError(Error());
} }

Loading…
Cancel
Save