mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +00:00
Set 2FA Field on login to a number field so it only shows the numbers on a mobile phone
This commit is contained in:
@@ -189,7 +189,7 @@ if (isset($_POST['login'])) {
|
|||||||
// HTML code for the token input field
|
// HTML code for the token input field
|
||||||
$token_field = "
|
$token_field = "
|
||||||
<div class='input-group mb-3'>
|
<div class='input-group mb-3'>
|
||||||
<input type='text' class='form-control' placeholder='Enter your 2FA code' name='current_code' required autofocus>
|
<input type='number' class='form-control' placeholder='Enter your 2FA code' name='current_code' required autofocus>
|
||||||
<div class='input-group-append'>
|
<div class='input-group-append'>
|
||||||
<div class='input-group-text'>
|
<div class='input-group-text'>
|
||||||
<span class='fas fa-key'></span>
|
<span class='fas fa-key'></span>
|
||||||
|
|||||||
Reference in New Issue
Block a user