1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-28 09:19:37 +02:00

fix: update TOTP input type and attributes for better user experience

This commit is contained in:
Sean Morley 2025-01-14 13:10:14 -05:00
parent 7be21fcace
commit 4a1e51e12a

View file

@ -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}