diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js --- a/web/redux/redux-setup.js +++ b/web/redux/redux-setup.js @@ -6,6 +6,7 @@ import { logOutActionTypes, deleteKeyserverAccountActionTypes, + deleteAccountActionTypes, } from 'lib/actions/user-actions.js'; import { setNewSessionActionType } from 'lib/keyserver-conn/keyserver-conn-types.js'; import { @@ -216,6 +217,13 @@ action.payload.currentUserInfo, action.payload.preRequestUserState, ashoatKeyserverID, + )) || + (action.type === deleteAccountActionTypes.success && + invalidSessionDowngrade( + state, + action.payload.currentUserInfo, + action.payload.preRequestUserState, + ashoatKeyserverID, )) ) { return {