1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 15:29:36 +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"
/><br />
{#if $page.form?.mfa_required}
<label for="password">TOTP</label>
<label for="totp">TOTP</label>
<input
type="password"
type="text"
name="totp"
id="totp"
inputmode="numeric"
pattern="[0-9]*"
autocomplete="one-time-code"
class="block input input-bordered w-full max-w-xs"
/><br />
{/if}