This commit is contained in:
Park Byung Eun 2022-08-23 05:46:26 +00:00
parent 75776b261c
commit 200df48017

View File

@ -88,7 +88,7 @@ export class AuthGuard implements CanActivate, CanActivateChild, CanLoad {
// If the user is not authenticated... // If the user is not authenticated...
if (!authenticated) { if (!authenticated) {
// Redirect to the sign-in page // Redirect to the sign-in page
this._router.navigate(['sign-in'], { queryParams: { redirectURL } }); this._router.navigate(['main'], { queryParams: { redirectURL } });
// Prevent the access // Prevent the access
return of(false); return of(false);