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:
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"
|
||||
/><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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue