mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-17 06:19:11 +00:00
fix: redirection not correctly if signing in with email code
This commit is contained in:
@@ -55,7 +55,13 @@
|
|||||||
<Button class="w-full" href={'/login/alternative/code' + page.url.search}>Enter code</Button>
|
<Button class="w-full" href={'/login/alternative/code' + page.url.search}>Enter code</Button>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<form onsubmit={requestEmail} class="w-full max-w-[450px]">
|
<form
|
||||||
|
onsubmit={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
requestEmail();
|
||||||
|
}}
|
||||||
|
class="w-full max-w-[450px]"
|
||||||
|
>
|
||||||
<p class="text-muted-foreground mt-2" in:fade>
|
<p class="text-muted-foreground mt-2" in:fade>
|
||||||
Enter your email address to receive an email with a login code.
|
Enter your email address to receive an email with a login code.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user