177.2. Fixing denied access to user management console for unauthenticated users by Guard (#25)
This commit is contained in:
@ -29,7 +29,7 @@ export class AuthenticationGuard implements CanActivate {
|
||||
else {
|
||||
this.router.navigate(['/login']);
|
||||
|
||||
this.notificationService.notify(NotificationType.ERROR, `You need to log in to access this page`.toUpperCase());
|
||||
this.notificationService.notify(NotificationType.ERROR, `You need to log in to access this page`);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user