aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_services/auth-guard.service.ts
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-03-16 20:15:27 +0100
committerNevena Bojovic <nenabojov@gmail.com>2022-03-16 20:15:27 +0100
commit8ac9eb2404ac00397be35fce4aee7adc1f261875 (patch)
tree979fc626207a2911a54ac18a2859c0a81e57918f /frontend/src/app/_services/auth-guard.service.ts
parent39228ed08db5aa56e6a1c02ddbfc6691e1d0eef0 (diff)
parent0f06229fa6a112b5299ac5182d938adb7ef39bde (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.ts2
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;
}
}