fix: fix incorrect routing in RedirectIfAuthenticatedGuard
This commit is contained in:
parent
dff56e2e40
commit
2c102ddddc
1 changed files with 0 additions and 1 deletions
|
|
@ -19,7 +19,6 @@ export class RedirectIfAuthenticatedGuard {
|
||||||
return this.authService.checkAuthUser().pipe(
|
return this.authService.checkAuthUser().pipe(
|
||||||
map((isAuthenticated) => {
|
map((isAuthenticated) => {
|
||||||
if (isAuthenticated) {
|
if (isAuthenticated) {
|
||||||
this.router.navigate(['/summary']);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue