Skip to content
Snippets Groups Projects
Commit f43dc36d authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Fix routing problem when unauthenticated

parent 108e654f
Branches
No related tags found
1 merge request!49Version 2.3.1
Pipeline #1762 passed
...@@ -29,7 +29,6 @@ export class HttpErrorResponseInterceptor implements HttpInterceptor { ...@@ -29,7 +29,6 @@ export class HttpErrorResponseInterceptor implements HttpInterceptor {
case 401: case 401:
console.log('HTTP ERROR: Unauthenticated'); console.log('HTTP ERROR: Unauthenticated');
this._userService.resetAuth(); this._userService.resetAuth();
this.router.navigate(['/', AppRoutes.signin.uri]);
break; break;
case 403: case 403:
console.log('HTTP ERROR: Forbidden'); console.log('HTTP ERROR: Forbidden');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment