Merge pull request 'Fixed refresh page reload bug' (#86) from feature/82-auth_refresh_bug into dev
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #86
This commit is contained in:
commit
9cd94004fc
@ -28,7 +28,7 @@ const store = () => {
|
||||
const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1]));
|
||||
state.jwtinfo = jwtinfo;
|
||||
localForage.setItem('logindata', auth);
|
||||
}).catch(this.logout());
|
||||
}).catch(()=>{this.logout();});
|
||||
},
|
||||
login(auth, jwtinfo) {
|
||||
update((state) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user