aboutsummaryrefslogtreecommitdiff
path: root/src/boot/after_store.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-29 10:11:28 -0400
committerdave <starpumadev@gmail.com>2019-03-29 10:11:28 -0400
commit783cc00dd0ea24b98bc8442b60c91be387428a7e (patch)
tree216663f5877e9f444009b3b8ef900aa646202d4c /src/boot/after_store.js
parent5fd589d5e717bbcbc46db5efb35878b993b6dfbc (diff)
parent25370083b63328ad489f4f0676a4bfa33de59671 (diff)
merge develop & resolve conflict
Diffstat (limited to 'src/boot/after_store.js')
-rw-r--r--src/boot/after_store.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
index f5e84cbc..f5add8ad 100644
--- a/src/boot/after_store.js
+++ b/src/boot/after_store.js
@@ -241,7 +241,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
// Now we have the server settings and can try logging in
if (store.state.oauth.token) {
- store.dispatch('loginUser', store.state.oauth.token)
+ await store.dispatch('loginUser', store.state.oauth.token)
}
const router = new VueRouter({