diff --git a/src/core/plugins/auth/reducers.js b/src/core/plugins/auth/reducers.js index ae28347702a..6e4d07029e2 100644 --- a/src/core/plugins/auth/reducers.js +++ b/src/core/plugins/auth/reducers.js @@ -44,7 +44,7 @@ export default { let { auth, token } = payload let parsedAuth - auth.token = token + auth.token = Object.assign({}, token) parsedAuth = fromJS(auth) return state.setIn( [ "authorized", parsedAuth.get("name") ], parsedAuth )