SyntaxSquad/DADProject#9 feat: Added profile change and name/password changes.

This commit is contained in:
AfonsoCMSousa
2025-12-23 18:21:04 +00:00
parent 29fc78c9f5
commit b82b4d5b59
4 changed files with 572 additions and 86 deletions
+2
View File
@@ -5,6 +5,8 @@ import { useAPIStore } from './api'
export const useAuthStore = defineStore('auth', () => {
const apiStore = useAPIStore()
const currentUser = ref(undefined)
const token = ref(localStorage.getItem('token') || null)