summaryrefslogtreecommitdiff
path: root/app/client/auth/auth.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-17 02:25:36 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-17 02:25:36 +0200
commit4c18946614657a9f8955408e514172a74eacc28e (patch)
tree1fa92e5e7f798203d40e846bd8577b0459af1fcd /app/client/auth/auth.reducer.js
parent7ef59901e08b6610f134c696876695cf52061f48 (diff)
logging i
Diffstat (limited to 'app/client/auth/auth.reducer.js')
-rw-r--r--app/client/auth/auth.reducer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/client/auth/auth.reducer.js b/app/client/auth/auth.reducer.js
index 7b3193a..80b1ec5 100644
--- a/app/client/auth/auth.reducer.js
+++ b/app/client/auth/auth.reducer.js
@@ -39,6 +39,9 @@ const auth = (state = authInitialState, action) => {
case types.auth.set_current_user:
return {
...state,
+ loading: false,
+ initialized: true,
+ isAuthenticated: true,
user: action.data,
error: null,
}