Fix logout issue
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-10-09 16:35:14 +02:00
parent 824ba97704
commit 306065dcbd

View File

@ -33,7 +33,7 @@ export class AppCommonEffects {
logout$: Observable<Action> = this.actions$.pipe( logout$: Observable<Action> = this.actions$.pipe(
ofType(appCommonActions.LOGOUT), ofType(appCommonActions.LOGOUT),
mergeMap((action) => { mergeMap((action) => {
this.oauthService$.logOut(true); this.oauthService$.revokeTokenAndLogout();
return []; return [];
})); }));