mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 08:23:00 +08:00
added auth persistence
This commit is contained in:
parent
f7746d2673
commit
f15c3acde1
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ export const useAuthStore = defineStore('auth', () => {
|
|||
auth.value.authenticating = false;
|
||||
return
|
||||
};
|
||||
persistAuth(res);
|
||||
})
|
||||
.catch(err => (auth.value.authenticating = false));
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue