Tickets & Tasks

- Add ability to un-complete/undo a completed task
- Require CSRF verification when deleting tickets and tasks
This commit is contained in:
wrongecho
2024-08-15 23:52:25 +01:00
parent 26d36e6f66
commit ccdfd96f56
3 changed files with 43 additions and 4 deletions

View File

@@ -629,6 +629,9 @@ if (isset($_GET['delete_ticket'])) {
validateAdminRole();
// CSRF Check
validateCSRFToken($_GET['csrf_token']);
$ticket_id = intval($_GET['delete_ticket']);
// Get Ticket and Client ID for logging and alert message