mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Tickets & Tasks
- Add ability to un-complete/undo a completed task - Require CSRF verification when deleting tickets and tasks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user