diff --git a/lib/core/services/auth-guard-base.ts b/lib/core/services/auth-guard-base.ts index cbbfe0cb8d5..d455365e3c6 100644 --- a/lib/core/services/auth-guard-base.ts +++ b/lib/core/services/auth-guard-base.ts @@ -69,6 +69,7 @@ export abstract class AuthGuardBase implements CanActivate, CanActivateChild { if (routeRedirectTo?.length > 0) { routeRedirectTo[0].redirectTo = redirectFragment; } + return this.router.createUrlTree([redirectFragment]); } return true; }