Update form input attributes for login and two-factor-challenge pages

This commit is contained in:
Andras Bacsai
2024-04-03 15:02:11 +02:00
parent 3c2beded68
commit 0b34207148
2 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
<form action="/two-factor-challenge" method="POST" class="flex flex-col gap-2">
@csrf
<div>
<x-forms.input type="number" name="code" label="{{ __('input.code') }}" autofocus />
<x-forms.input type="number" name="code" autocomplete="one-time-code" label="{{ __('input.code') }}" autofocus />
<div x-show="!showRecovery"
class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
x-on:click="showRecovery = !showRecovery">Enter