diff --git a/src/redux/store.js b/src/redux/store.js index 481a073b0..602572154 100644 --- a/src/redux/store.js +++ b/src/redux/store.js @@ -24,7 +24,11 @@ const getMiddleware = history => [ storage.createMiddleware( engine, [], - [authActionTypes.LOGIN_SUCCESS, switchingActionTypes.REMOVE_USER] + [ + authActionTypes.LOGIN_SUCCESS, + authActionTypes.LOGOUT, + switchingActionTypes.REMOVE_USER + ] ) ];