diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-16 18:17:13 +0100 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-16 18:17:13 +0100 |
commit | 5a04e31b7e63663f548fa7d9119ab947be46aedf (patch) | |
tree | 6d093d64c471166ef6d649c24f41d80d8a568296 /frontend/src/app/_services/auth-guard.service.ts | |
parent | d96b69f4ca8eac83140b3b451f59621aed2bb517 (diff) | |
parent | cba3740a4f35d91421f5a185195bdfc087810b8a (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
Diffstat (limited to 'frontend/src/app/_services/auth-guard.service.ts')
-rw-r--r-- | frontend/src/app/_services/auth-guard.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/app/_services/auth-guard.service.ts b/frontend/src/app/_services/auth-guard.service.ts index b6d3678d..057996e0 100644 --- a/frontend/src/app/_services/auth-guard.service.ts +++ b/frontend/src/app/_services/auth-guard.service.ts @@ -15,7 +15,7 @@ export class AuthGuardService implements CanActivate { if (this.auth.isAuthenticated()) { return true; } - this.router.navigate(['login']); + this.router.navigate(['']); return false; } } |