Commit e7d35885 authored by AuckeBos's avatar AuckeBos Committed by Wietse Kuipers
Browse files

Fixed setting state to initialstate on resetting login state

parent 47a6f738
......@@ -26,7 +26,7 @@ export default function session(state = initialState, action = {}) {
case types.LOGOUT:
return { ...initialState, loginState: 'logout' };
case types.RESETLOGINSTATE:
return { ...initialState, loginState: '' };
return { ...state, loginState: '' };
default:
return state;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment