mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Add CSRF Checks on Agent ajax endpoints that would update / delete or add something to the db
This commit is contained in:
@@ -616,7 +616,8 @@ new Sortable(document.querySelector('table#items tbody'), {
|
||||
|
||||
$.post('ajax.php', {
|
||||
update_quote_items_order: true,
|
||||
quote_id: <?php echo $quote_id; ?>,
|
||||
csrf_token: '<?= $_SESSION['csrf_token'] ?>',
|
||||
quote_id: <?= $quote_id ?>,
|
||||
positions: positions
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user