diff --git a/users.php b/users.php index 3e7abe11..793802ca 100644 --- a/users.php +++ b/users.php @@ -64,6 +64,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); Email Role Status + MFA Last Login Action @@ -85,6 +86,11 @@ $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']); + if(empty($user_token)) { + $mfa_status_display = "-"; + } else { + $mfa_status_display = ""; + } $user_config_force_mfa = intval($row['user_config_force_mfa']); $user_role = $row['user_role']; if ($user_role == 3) { @@ -134,6 +140,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); +