mirror of https://github.com/itflow-org/itflow
Removed number type on 2FA input field replaced with text and inputmode='numeric' pattern='[0-9]*'
This commit is contained in:
parent
a8b3b24fba
commit
1ccaa936ac
|
|
@ -188,7 +188,7 @@ if (isset($_POST['login'])) {
|
|||
// HTML code for the token input field
|
||||
$token_field = "
|
||||
<div class='input-group mb-3'>
|
||||
<input type='number' class='form-control' placeholder='Enter your 2FA code' name='current_code' required autofocus>
|
||||
<input type='text' inputmode='numeric' pattern='[0-9]*' class='form-control' placeholder='Enter your 2FA code' name='current_code' required autofocus>
|
||||
<div class='input-group-append'>
|
||||
<div class='input-group-text'>
|
||||
<span class='fas fa-key'></span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue