aboutsummaryrefslogtreecommitdiff
path: root/src/components/oauth_callback
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-12-29 16:25:45 +0200
committershpuld <shp@cock.li>2018-12-29 16:25:45 +0200
commit16c7bd0199717e705697ddcce100cc2141eb0afc (patch)
treef96ed970d6106a4be664201424f859dcce891f33 /src/components/oauth_callback
parent747e4090cabfda353e76c9a45def70bef8c297e5 (diff)
parent1555a5fef38dced753c418d736468712ea818975 (diff)
merge develop, fix conflicts, fix logged out bug
Diffstat (limited to 'src/components/oauth_callback')
-rw-r--r--src/components/oauth_callback/oauth_callback.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/oauth_callback/oauth_callback.js b/src/components/oauth_callback/oauth_callback.js
index 18e24159..e3d45ee1 100644
--- a/src/components/oauth_callback/oauth_callback.js
+++ b/src/components/oauth_callback/oauth_callback.js
@@ -11,7 +11,7 @@ const oac = {
}).then((result) => {
this.$store.commit('setToken', result.access_token)
this.$store.dispatch('loginUser', result.access_token)
- this.$router.push('/~/main/friends')
+ this.$router.push({name: 'friends'})
})
}
}