diff --git a/ts/store/session.ts b/ts/store/session.ts index f74524d4..3cb3fc17 100644 --- a/ts/store/session.ts +++ b/ts/store/session.ts @@ -50,11 +50,13 @@ export const useSessionStore = defineStore("session", () => { username: string, ): Promise { try { + console.log("begin signin request"); await apiClient.JSONPost("/api/signin", { password: password, username: username, }); - isAuthenticated.value = false; + isAuthenticated.value = true; + console.log("set authenticated to true after signin request"); return { is_success: true, status: 200,