refactor: auth stuff

This commit is contained in:
2025-09-18 11:39:29 -04:00
parent c82abe88e4
commit 3cc4b570d5
9 changed files with 93 additions and 44 deletions

View File

@@ -3,7 +3,7 @@ export function useUserSwitching() {
const { fetch: refreshUserSession } = useUserSession();
const { session } = useUserSession();
const isUserSwitched = computed(() => Boolean(session.value?.switchedBy));
const isUserSwitched = computed(() => Boolean(session.value?.isSwitchedTo));
async function userSwitchTo(userId: string | number) {
try {