remove space
This commit is contained in:
parent
843415d9fd
commit
53b8442167
@ -29,8 +29,8 @@ export class IqserAuthGuard extends KeycloakAuthGuard {
|
||||
}
|
||||
|
||||
const user = await this._userService.loadCurrentUser();
|
||||
if (user?.hasAnyRole && route.routeConfig?.path === 'auth-error') {
|
||||
await this._router.navigate(['/main'])
|
||||
if (user?.hasAnyRole && route.routeConfig?.path === 'auth-error') {
|
||||
await this._router.navigate(['/main']);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user