Fixed missing await
This commit is contained in:
parent
3f23c6d66e
commit
03d4bd5c8b
@ -18,7 +18,9 @@ export function ifNotLoggedIn(): CanActivateFn {
|
||||
}
|
||||
}
|
||||
|
||||
if (!keycloakService.isLoggedIn()) {
|
||||
const isLoggedIn = await keycloakService.isLoggedIn();
|
||||
|
||||
if (!isLoggedIn) {
|
||||
logger.info('[ROUTES] Not logged in, continuing to selected route');
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user