FEATURE: Force MFA Part 2 - Added to add, edit user

This commit is contained in:
johnnyq
2023-09-05 23:44:42 -04:00
parent 2a142f1c42
commit 17c8a9ab0c
5 changed files with 22 additions and 2 deletions

View File

@@ -89,6 +89,15 @@
<input type="file" class="form-control-file" accept="image/*;capture=camera" name="file">
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" id="forceMFACheckBox<?php echo $user_id; ?>" name="force_mfa" value="1" <?php if($user_config_force_mfa == 1){ echo "checked"; } ?>>
<label for="forceMFACheckBox<?php echo $user_id; ?>" class="custom-control-label">
Force MFA
</label>
</div>
</div>
<?php if (!empty($user_token)) { ?>
<div class="form-group">