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());