Project - Require CSRF token to delete a project

This commit is contained in:
Marcus Hill
2025-05-11 12:25:13 +01:00
parent b85fa38b67
commit 0df5c01bb7
3 changed files with 5 additions and 2 deletions

View File

@@ -170,6 +170,9 @@ if (isset($_GET['delete_project'])) {
enforceUserPermission('module_support', 3);
// CSRF Check
validateCSRFToken($_GET['csrf_token']);
$project_id = intval($_GET['delete_project']);
// Get Project Name and Client ID for logging