client/src/reducers/authReducer.js
changeset 47 64428c7ebc19
parent 44 3b20e2b584fe
child 52 96f8a4a59bd9
--- a/client/src/reducers/authReducer.js	Mon Jun 19 11:56:06 2017 +0200
+++ b/client/src/reducers/authReducer.js	Mon Jun 19 12:32:11 2017 +0200
@@ -18,8 +18,7 @@
 
 export const token = (state = null, action) => {
   switch (action.type) {
-    case types.AUTH_LOGIN_SUCCESS:
-      console.log('token', action.token)
+    case types.AUTH_STORE_TOKEN:
       return action.token;
     default:
       return state;