Skip to content

Commit

Permalink
fix: update login way to set auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Jul 28, 2024
1 parent d39b33a commit c83b07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c83b07e

Please sign in to comment.