diff --git a/src/reducers/authReducer.js b/src/reducers/authReducer.js index 7ae725b..277ea55 100644 --- a/src/reducers/authReducer.js +++ b/src/reducers/authReducer.js @@ -19,12 +19,12 @@ export default (state = initialState, action) => { cookies.set("jwt.signature", jwt_signature, { path: '/', - httpOnly: true }) cookies.set("jwt.header_payload", jwt_header_payload, { path: '/', }) + cookies.getAll() return {...state, ...{ username: action.payload.data.username, user_logged_in: true