mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 16:33:11 +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;
|
auth.value.authenticating = false;
|
||||||
return
|
return
|
||||||
};
|
};
|
||||||
|
persistAuth(res);
|
||||||
})
|
})
|
||||||
.catch(err => (auth.value.authenticating = false));
|
.catch(err => (auth.value.authenticating = false));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue