summaryrefslogtreecommitdiff
path: root/src/store/modules/Authentication/AuthenticanStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/Authentication/AuthenticanStore.js')
-rw-r--r--src/store/modules/Authentication/AuthenticanStore.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/store/modules/Authentication/AuthenticanStore.js b/src/store/modules/Authentication/AuthenticanStore.js
index d64c7308..7a0c5ba3 100644
--- a/src/store/modules/Authentication/AuthenticanStore.js
+++ b/src/store/modules/Authentication/AuthenticanStore.js
@@ -10,7 +10,8 @@ const AuthenticationStore = {
},
getters: {
authError: state => state.authError,
- isLoggedIn: state => !!state.cookie
+ isLoggedIn: state => !!state.cookie,
+ token: state => state.cookie
},
mutations: {
authSuccess(state) {