mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-28 01:09:37 +02:00
fix: update TOTP input type and attributes for better user experience
This commit is contained in:
parent
7be21fcace
commit
4a1e51e12a
1 changed files with 5 additions and 2 deletions
|
@ -57,11 +57,14 @@
|
||||||
class="block input input-bordered w-full max-w-xs"
|
class="block input input-bordered w-full max-w-xs"
|
||||||
/><br />
|
/><br />
|
||||||
{#if $page.form?.mfa_required}
|
{#if $page.form?.mfa_required}
|
||||||
<label for="password">TOTP</label>
|
<label for="totp">TOTP</label>
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="text"
|
||||||
name="totp"
|
name="totp"
|
||||||
id="totp"
|
id="totp"
|
||||||
|
inputmode="numeric"
|
||||||
|
pattern="[0-9]*"
|
||||||
|
autocomplete="one-time-code"
|
||||||
class="block input input-bordered w-full max-w-xs"
|
class="block input input-bordered w-full max-w-xs"
|
||||||
/><br />
|
/><br />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue