added auth persistence

This commit is contained in:
Aurthur Musendame 2023-08-13 10:22:54 +02:00
parent f7746d2673
commit f15c3acde1

View file

@ -102,6 +102,7 @@ export const useAuthStore = defineStore('auth', () => {
auth.value.authenticating = false;
return
};
persistAuth(res);
})
.catch(err => (auth.value.authenticating = false));
};