bug fix
This commit is contained in:
parent
75776b261c
commit
200df48017
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user