mirror of
https://github.com/bitwarden/jslib
synced 2025-12-10 13:23:15 +00:00
Fix lockGuard redirect (#819)
This commit is contained in:
@@ -18,7 +18,7 @@ export class LockGuard implements CanActivate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const redirectUrl =
|
const redirectUrl =
|
||||||
authStatus === AuthenticationStatus.LoggedOut ? [this.loginpage] : [this.homepage];
|
authStatus === AuthenticationStatus.LoggedOut ? this.loginpage : this.homepage;
|
||||||
|
|
||||||
return this.router.createUrlTree([redirectUrl]);
|
return this.router.createUrlTree([redirectUrl]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user