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

@@ -85,6 +85,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
}
$user_avatar = nullable_htmlentities($row['user_avatar']);
$user_token = nullable_htmlentities($row['user_token']);
$user_config_force_mfa = intval($row['user_config_force_mfa']);
$user_role = $row['user_role'];
if ($user_role == 3) {
$user_role_display = "Administrator";