Update angular to v16
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Injectable } from "@angular/core";
|
||||
import { CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
|
||||
import { Router, ActivatedRouteSnapshot, RouterStateSnapshot } from "@angular/router";
|
||||
import { AuthenticationService } from "./authentication.service";
|
||||
|
||||
@Injectable({ providedIn: "root" })
|
||||
export class AuthGuardService implements CanActivate {
|
||||
export class AuthGuardService {
|
||||
constructor(private router: Router,
|
||||
private authenticationService: AuthenticationService) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user