From d67c54c6e795112cacfd25b8683b0a381e59b85b Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 29 Apr 2026 15:04:44 +0000 Subject: [PATCH] Set authenticated after sigin completes without error --- ts/store/session.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,