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);