Retrieve the auth token from sessionStorage
This commit is contained in:
parent
c248fc6c06
commit
4a68bbc58e
1 changed files with 1 additions and 2 deletions
|
|
@ -20,8 +20,7 @@ Vue.mixin({
|
|||
}},
|
||||
computed: {
|
||||
api_token() {
|
||||
let params = new URLSearchParams(window.location.hash.slice(1));
|
||||
return params.get(`access_token`);
|
||||
return sessionStorage.getItem(this.storage_key.token);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue