1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-16 19:55:18 +00:00

fix: set input type 'email' for email-based login (#776)

This commit is contained in:
Alessandro (Ale) Segala
2025-07-23 19:39:50 +02:00
committed by GitHub
parent 024ed53022
commit d541c9ab4a
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@
<p class="text-muted-foreground mt-2" in:fade>
{m.enter_your_email_address_to_receive_an_email_with_a_login_code()}
</p>
<Input id="Email" class="mt-7" placeholder={m.your_email()} bind:value={email} />
<Input id="Email" class="mt-7" placeholder={m.your_email()} bind:value={email} type="email" />
<div class="mt-8 flex justify-between gap-2">
<Button variant="secondary" class="flex-1" href={'/login/alternative' + page.url.search}
>{m.go_back()}</Button