0
0
Fork 0

Retrieve the auth token from sessionStorage

This commit is contained in:
Oliver-Akins 2020-08-17 23:07:58 -06:00
parent c248fc6c06
commit 4a68bbc58e

View file

@ -20,8 +20,7 @@ Vue.mixin({
}}, }},
computed: { computed: {
api_token() { api_token() {
let params = new URLSearchParams(window.location.hash.slice(1)); return sessionStorage.getItem(this.storage_key.token);
return params.get(`access_token`);
}, },
}, },
methods: { methods: {