From 2c102ddddc88e1280321071fdbc6427b47f12227 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Sun, 23 Mar 2025 22:32:32 +0100 Subject: [PATCH] fix: fix incorrect routing in RedirectIfAuthenticatedGuard --- src/app/guards/redirect-if-authenticated.guard.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/guards/redirect-if-authenticated.guard.ts b/src/app/guards/redirect-if-authenticated.guard.ts index f11f841..cd17092 100644 --- a/src/app/guards/redirect-if-authenticated.guard.ts +++ b/src/app/guards/redirect-if-authenticated.guard.ts @@ -19,7 +19,6 @@ export class RedirectIfAuthenticatedGuard { return this.authService.checkAuthUser().pipe( map((isAuthenticated) => { if (isAuthenticated) { - this.router.navigate(['/summary']); return false; } return true;