aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/plugins/disable.php3
-rw-r--r--actions/admin/plugins/enable.php3
2 files changed, 6 insertions, 0 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 355fd2b52..b41a7603e 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -15,6 +15,9 @@
// block non-admin users
admin_gatekeeper();
+ // Validate the action
+ action_gatekeeper();
+
// Get the user
$plugin = get_input('plugin');
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index b13755327..537079112 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -15,6 +15,9 @@
// block non-admin users
admin_gatekeeper();
+ // Validate the action
+ action_gatekeeper();
+
// Get the user
$plugin = get_input('plugin');