mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-01-09 19:58:05 -05:00
fix: set input type 'email' for email-based login (#776)
This commit is contained in:
committed by
GitHub
parent
024ed53022
commit
d541c9ab4a
@@ -61,7 +61,7 @@
|
||||
<p class="text-muted-foreground mt-2">{m.enter_the_code_you_received_to_sign_in()}</p>
|
||||
{/if}
|
||||
<form onsubmit={preventDefault(authenticate)} class="w-full max-w-[450px]">
|
||||
<Input id="Email" class="mt-7" placeholder={m.code()} bind:value={code} type="text" />
|
||||
<Input id="Code" class="mt-7" placeholder={m.code()} bind:value={code} type="text" />
|
||||
<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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user