From 200df48017f8c5ebd2e109318563cbc13e92d12a Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Tue, 23 Aug 2022 05:46:26 +0000 Subject: [PATCH] bug fix --- src/app/core/auth/guards/auth.guard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/auth/guards/auth.guard.ts b/src/app/core/auth/guards/auth.guard.ts index b4f5ee3..7fbf29d 100644 --- a/src/app/core/auth/guards/auth.guard.ts +++ b/src/app/core/auth/guards/auth.guard.ts @@ -88,7 +88,7 @@ export class AuthGuard implements CanActivate, CanActivateChild, CanLoad { // If the user is not authenticated... if (!authenticated) { // Redirect to the sign-in page - this._router.navigate(['sign-in'], { queryParams: { redirectURL } }); + this._router.navigate(['main'], { queryParams: { redirectURL } }); // Prevent the access return of(false);