mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
committed by
Thomas Rittson
parent
059dc9bf80
commit
1cc4bed671
@@ -18,7 +18,7 @@ export class LockGuard implements CanActivate {
|
||||
}
|
||||
|
||||
const redirectUrl =
|
||||
authStatus === AuthenticationStatus.LoggedOut ? [this.loginpage] : [this.homepage];
|
||||
authStatus === AuthenticationStatus.LoggedOut ? this.loginpage : this.homepage;
|
||||
|
||||
return this.router.createUrlTree([redirectUrl]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user