Make the back-end returns the user email on login/register

This commit is contained in:
Bubka
2023-10-05 16:59:53 +02:00
parent beeaed9565
commit 9d72525b38
6 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@ export const useUserStore = defineStore({
state: () => {
return {
name: undefined,
email: undefined,
preferences: window.defaultPreferences,
isAdmin: false,
}