mirror of https://github.com/itflow-org/itflow
Moved Remember Me to the Enter MFA Screen Only
This commit is contained in:
parent
be10ac0b46
commit
90bb9499d5
17
login.php
17
login.php
|
|
@ -324,15 +324,28 @@ if (isset($_POST['login'])) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (isset($token_field)) { echo $token_field; } ?>
|
||||
<?php
|
||||
if (isset($token_field)) {
|
||||
|
||||
echo $token_field;
|
||||
?>
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="remember_me" name="remember_me" <?php if(isset($_POST['remember_me'])){ echo "checked"; } ?>>
|
||||
<input type="checkbox" class="custom-control-input" id="remember_me" name="remember_me">
|
||||
<label class="custom-control-label" for="remember_me">Remember Me</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-block mb-3" name="login">Sign In</button>
|
||||
|
||||
<?php if($config_client_portal_enable == 1){ ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue