first commit
This commit is contained in:
@ -28,7 +28,7 @@ export class AuthenticationGuard implements CanActivate {
|
||||
if (this.authenticationService.isUserLoggedIn())
|
||||
return true;
|
||||
else {
|
||||
this.router.navigate(['/login']);
|
||||
this.router.navigate(['/dashboard/login']);
|
||||
|
||||
this.notificationService.notify(NotificationType.ERROR, `You need to log in to access this page`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user