From f2c8bc3ae026b96ad3d1b875a4ff55b0c3eb8c27 Mon Sep 17 00:00:00 2001 From: Asara Date: Sat, 28 Sep 2019 08:34:15 -0400 Subject: [PATCH] Messing about with cookies --- src/reducers/authReducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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