Fix lockGuard redirect (#819)
This commit is contained in:
parent
a6fe5c7900
commit
77ca5762e1
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue