aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main/auth/auth-interceptor.service.ts')
-rw-r--r--client/src/app/shared/shared-main/auth/auth-interceptor.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts b/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
index 7daf31a98..e4b74f3ad 100644
--- a/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
+++ b/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
@@ -62,7 +62,7 @@ export class AuthInterceptor implements HttpInterceptor {
62 } 62 }
63 63
64 private handleNotAuthenticated (err: HttpErrorResponse): Observable<any> { 64 private handleNotAuthenticated (err: HttpErrorResponse): Observable<any> {
65 this.router.navigate([ '/404' ], { state: { obj: err }, skipLocationChange: true }) 65 this.router.navigate([ '/401' ], { state: { obj: err }, skipLocationChange: true })
66 return of(err.message) 66 return of(err.message)
67 } 67 }
68} 68}