Browse Source

UI: Fixed race conditional when show login error dialog

pull/11687/head
Vladyslav_Prykhodko 2 years ago
parent
commit
e0a96b8fb2
  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) {
this.showLoginErrorDialog(loginError);
Promise.resolve().then(() => this.showLoginErrorDialog(loginError));
this.utils.updateQueryParam('loginError', null);
return throwError(Error());
}

Loading…
Cancel
Save