diff -r dbcee57de2c6 -r 2a861fed6bde client/src/reducers/authReducer.js --- a/client/src/reducers/authReducer.js Mon Jun 26 15:21:06 2017 +0200 +++ b/client/src/reducers/authReducer.js Mon Jun 26 16:05:47 2017 +0200 @@ -4,6 +4,7 @@ export const isAuthenticated = (state = false, action) => { switch (action.type) { + case types.AUTH_DEAUTHENTICATE: case types.AUTH_LOGOUT: return false; case types.AUTH_LOGIN_SUCCESS: @@ -15,6 +16,7 @@ export const currentUser = (state = null, action) => { switch (action.type) { + case types.AUTH_DEAUTHENTICATE: case types.AUTH_LOGOUT: return null; case types.AUTH_LOGIN_SUCCESS: @@ -31,6 +33,7 @@ export const token = (state = null, action) => { switch (action.type) { + case types.AUTH_DEAUTHENTICATE: case types.AUTH_LOGOUT: return null; case types.AUTH_STORE_TOKEN: