aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/user/auth.guard.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-13 22:23:35 +0800
committercrupest <crupest@outlook.com>2019-03-13 22:23:35 +0800
commit5102efa0b2b8a009be1db3bc6fa5462772ef3d6a (patch)
tree04863f9f7f10984661244ed0582a84009d580ee6 /Timeline/ClientApp/src/app/user/auth.guard.ts
parent5bfbb5020904eadba298fdc094172d1c12879278 (diff)
downloadtimeline-5102efa0b2b8a009be1db3bc6fa5462772ef3d6a.tar.gz
timeline-5102efa0b2b8a009be1db3bc6fa5462772ef3d6a.tar.bz2
timeline-5102efa0b2b8a009be1db3bc6fa5462772ef3d6a.zip
...
Diffstat (limited to 'Timeline/ClientApp/src/app/user/auth.guard.ts')
-rw-r--r--Timeline/ClientApp/src/app/user/auth.guard.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/ClientApp/src/app/user/auth.guard.ts b/Timeline/ClientApp/src/app/user/auth.guard.ts
index 64ff93c7..561a0c53 100644
--- a/Timeline/ClientApp/src/app/user/auth.guard.ts
+++ b/Timeline/ClientApp/src/app/user/auth.guard.ts
@@ -58,7 +58,7 @@ export class RequireLoginGuard extends AuthGuard {
}
onAuthFailed() {
- this.internalUserService.userRouteNavigate(['login', { reason: 'nologin' }]);
+ this.internalUserService.userRouteNavigate(['login']);
}
}