Compare commits
No commits in common. "9cd94004fce1847d8adb028bef36b6fb49ff144d" and "ad638e8bc8b3f2179526d6fbd6cdf18ee2524054" have entirely different histories.
9cd94004fc
...
ad638e8bc8
@ -28,7 +28,7 @@ const store = () => {
|
|||||||
const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1]));
|
const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1]));
|
||||||
state.jwtinfo = jwtinfo;
|
state.jwtinfo = jwtinfo;
|
||||||
localForage.setItem('logindata', auth);
|
localForage.setItem('logindata', auth);
|
||||||
}).catch(()=>{this.logout();});
|
}).catch(this.logout());
|
||||||
},
|
},
|
||||||
login(auth, jwtinfo) {
|
login(auth, jwtinfo) {
|
||||||
update((state) => {
|
update((state) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user