This commit is contained in:
Giuseppe Digilio
2018-06-07 12:30:24 +02:00
parent 66295d10ed
commit 099ebd487f
3 changed files with 7 additions and 1 deletions

View File

@@ -135,6 +135,7 @@ export class AuthEffects {
public logOutSuccess$: Observable<Action> = this.actions$
.ofType(AuthActionTypes.LOG_OUT_SUCCESS)
.do(() => this.authService.removeToken())
.do(() => this.authService.clearRedirectUrl())
.do(() => this.authService.refreshAfterLogout());
@Effect({dispatch: false})