Client: Add missing CSRF checks, and missing enforcements

This commit is contained in:
johnnyq
2026-03-01 20:42:18 -05:00
parent ae81092112
commit ef1b65de09
5 changed files with 17 additions and 2 deletions

View File

@@ -550,7 +550,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
$asset_model = nullable_htmlentities($row['asset_model']);
$asset_serial = nullable_htmlentities($row['asset_serial']);
if ($asset_serial) {
$asset_serial_display = $asset_serial;
$asset_serial_display = "<span class='badge badge-light text-monospace'>$asset_serial</span>";
} else {
$asset_serial_display = "-";
}