fix: fix incorrect routing in RedirectIfAuthenticatedGuard

This commit is contained in:
Chneemann 2025-03-23 22:32:32 +01:00
parent dff56e2e40
commit 2c102ddddc

View file

@ -19,7 +19,6 @@ export class RedirectIfAuthenticatedGuard {
return this.authService.checkAuthUser().pipe(
map((isAuthenticated) => {
if (isAuthenticated) {
this.router.navigate(['/summary']);
return false;
}
return true;