177.2. Fixing denied access to user management console for unauthenticated users by Guard (#25)

This commit is contained in:
Art
2021-09-21 23:05:51 +03:00
parent f8ce75d285
commit 36cc9a22c4
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}