mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 08:15:38 +00:00
Racks: Fix Device Removal
This commit is contained in:
@@ -265,7 +265,7 @@ if (isset($_POST['edit_rack_unit'])) {
|
|||||||
|
|
||||||
if (isset($_GET['remove_rack_unit'])) {
|
if (isset($_GET['remove_rack_unit'])) {
|
||||||
|
|
||||||
validateCSRFToken($_POST['csrf_token']);
|
validateCSRFToken($_GET['csrf_token']);
|
||||||
|
|
||||||
enforceUserPermission('module_support', 2);
|
enforceUserPermission('module_support', 2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user