Add password auth, business browsing, dev proxy, and production env.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,6 +37,10 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
}
|
||||
}
|
||||
|
||||
function setUser(profile: User) {
|
||||
user.value = profile;
|
||||
}
|
||||
|
||||
return {
|
||||
token,
|
||||
user,
|
||||
@@ -47,5 +51,6 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
setSession,
|
||||
logout,
|
||||
loadUser,
|
||||
setUser,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user