Skip to content
Snippets Groups Projects
Commit 034ca02f authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Fixes

parent ebdb17d0
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ export class AuthEffects {
.do(() => this.authService.redirectToLogin());
@Effect({dispatch: false})
public redirectToLogin: Observable<Action> = this.actions$
public redirectToLoginTokenExpired: Observable<Action> = this.actions$
.ofType(AuthActionTypes.REDIRECT_TOKEN_EXPIRED)
.do(() => this.authService.removeToken())
.do(() => this.authService.redirectToLoginWhenTokenExpired());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment