Focus on MFA input field on page load

This commit is contained in:
Edgars
2023-05-04 15:13:47 +03:00
parent 926665a8f5
commit 056af8fd8a

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>