Merge pull request #7461 from eandersons/Focus-on-MFA-input-field

Focus on MFA input field on page load
This commit is contained in:
James Cole 2023-05-04 21:05:53 +02:00 committed by GitHub
commit e2a18e0e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@
<form action="{{ route('two-factor.submit') }}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="input-group mb-3">
<input type="text" name="one_time_password" inputmode="numeric" autocomplete="one-time-code" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}" />
<input type="text" name="one_time_password" inputmode="numeric" autocomplete="one-time-code" class="form-control" placeholder="{{ 'two_factor_code_here'|_ }}" autofocus />
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-calculator"></span>