diff --git a/frontend/src/Login.svelte b/frontend/src/Login.svelte index 023b928..38a3d2b 100644 --- a/frontend/src/Login.svelte +++ b/frontend/src/Login.svelte @@ -26,7 +26,7 @@ if (response.ok) { message = "Login successful!"; - $isAuthenticated = true; + isAuthenticated.setAuth(true); if (data.redirect) { const authResponse = await fetch('/api/authenticate', { method: 'GET',