aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/guards/auth.guard.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/guards/auth.guard.ts')
-rw-r--r--src/app/guards/auth.guard.ts4
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) {}