aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/FetchToken.vue
diff options
context:
space:
mode:
authorFulgen301 <tokmajigeorge@gmail.com>2018-09-16 16:59:45 +0200
committerFulgen301 <tokmajigeorge@gmail.com>2018-09-16 16:59:45 +0200
commit08b551201fe72e71fd031a22542439d3e1b70169 (patch)
treef723e4f82804604ed3b32c551062a74fe9914004 /src/pages/FetchToken.vue
parent3262c3f172892309d1c174a8a319441e178c1a7f (diff)
downloadparry-ui-08b551201fe72e71fd031a22542439d3e1b70169.tar.gz
parry-ui-08b551201fe72e71fd031a22542439d3e1b70169.zip
Initial adapt to LegacyClonk
Diffstat (limited to 'src/pages/FetchToken.vue')
-rw-r--r--src/pages/FetchToken.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/FetchToken.vue b/src/pages/FetchToken.vue
index 6745377..d681ca8 100644
--- a/src/pages/FetchToken.vue
+++ b/src/pages/FetchToken.vue
@@ -47,7 +47,7 @@
}
else {
let that = this
- this.$http.get('/uploads', {headers: {Authorization: `Bearer ${this.routeToken}`}}).then(response => {
+ this.$http.get('/api/auth', {headers: {Authorization: `JWT ${this.routeToken}`}}).then(response => {
that.tokenValid = true
that.$store.commit('user/setAuthToken', { authToken: that.routeToken })
window.close()