From 034ca02f381f876ed79a429b546ae8f29899d303 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Wed, 4 Apr 2018 17:42:44 +0200 Subject: [PATCH] Fixes --- src/app/core/auth/auth.effects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/auth/auth.effects.ts b/src/app/core/auth/auth.effects.ts index 3606434420..64bf311ff3 100644 --- a/src/app/core/auth/auth.effects.ts +++ b/src/app/core/auth/auth.effects.ts @@ -138,7 +138,7 @@ export class AuthEffects { .do(() => this.authService.redirectToLogin()); @Effect({dispatch: false}) - public redirectToLogin: Observable = this.actions$ + public redirectToLoginTokenExpired: Observable = this.actions$ .ofType(AuthActionTypes.REDIRECT_TOKEN_EXPIRED) .do(() => this.authService.removeToken()) .do(() => this.authService.redirectToLoginWhenTokenExpired());