SyntaxSquad/DADProject#9 feat: Added profile change and name/password changes.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user