Add CSRF Checks on Agent ajax endpoints that would update / delete or add something to the db

This commit is contained in:
johnnyq
2026-03-05 17:12:44 -05:00
parent 994526e2c8
commit a81edc122d
13 changed files with 41 additions and 3 deletions

View File

@@ -1171,6 +1171,7 @@ if (isset($_GET['contact_id'])) {
"ajax.php",
{
contact_set_notes: 'TRUE',
csrf_token: '<?= $_SESSION['csrf_token'] ?>',
contact_id: contact_id,
notes: notes
}