Skip to content

Commit 417eb8a

Browse files
Big-Iron-CheemsMineGame159
authored andcommitted
Fix /forgotPassword endpoint not working
Silly mistake in the Svelte 5 porting, missed a `!` on the token
1 parent 3352ef4 commit 417eb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/forgotPassword/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
2121
$effect(() => {
22-
if (browser && !$token) goto("/account")
22+
if (browser && $token) goto("/account")
2323
})
2424
</script>
2525

0 commit comments

Comments
 (0)