TOTP: Added one-time-code autofill

During review of #4849
Tested on Firefox & Chromium desktop.
This commit is contained in:
Dan Brown 2024-03-10 18:24:42 +00:00
parent c53c9f6866
commit bc24a1360f
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -6,6 +6,7 @@
{{ csrf_field() }}
<input type="text"
name="code"
autocomplete="one-time-code"
autofocus
placeholder="{{ trans('auth.mfa_gen_totp_provide_code_here') }}"
class="input-fill-width {{ $errors->has('code') ? 'neg' : '' }}">