diff options
author | 2024-09-24 14:52:51 +0200 | |
---|---|---|
committer | 2024-09-24 15:07:04 +0200 | |
commit | 49260befded7829a951168faa36f7dcad9402823 (patch) | |
tree | 1dd4b077e52cd379aa2e6041f1998d5cf0cfc288 /src/app/guards/auth.guard.ts | |
parent | e3f9c7fedc3e11b49e68498c6a579e7b44213c88 (diff) |
Update Angular to 160.1.2
Issue-ID: PORTALNG-123
Change-Id: I3b5771d98799033c37d16faa3355bc706402c0c2
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/app/guards/auth.guard.ts')
-rw-r--r-- | src/app/guards/auth.guard.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/guards/auth.guard.ts b/src/app/guards/auth.guard.ts index 54ede0f..645819c 100644 --- a/src/app/guards/auth.guard.ts +++ b/src/app/guards/auth.guard.ts @@ -18,7 +18,7 @@ import { Injectable } from '@angular/core'; -import { CanActivate, UrlTree } from '@angular/router'; +import { UrlTree } from '@angular/router'; import { Observable } from 'rxjs'; import { AuthService } from '../services/auth.service'; @@ -28,7 +28,7 @@ import { AuthService } from '../services/auth.service'; @Injectable({ providedIn: 'root', }) -export class AuthGuard implements CanActivate { +export class AuthGuard { roles: string = ''; constructor(private authService: AuthService) {} |