aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-06 21:29:37 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-06 21:29:37 +0000
commitf918ca09cec807801521059bac987793b3685139 (patch)
tree7b2a880f6154daa8242dd3f54ce76b8a77f4f0e5 /actions
parent01b84b7608d8a5510938438452f79288f24ba3fe (diff)
downloadelgg-f918ca09cec807801521059bac987793b3685139.tar.gz
elgg-f918ca09cec807801521059bac987793b3685139.tar.bz2
Fixes #332: Added tokens and action_gatekeeper()
git-svn-id: https://code.elgg.org/elgg/trunk@2056 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/user/ban.php1
-rw-r--r--actions/admin/user/delete.php1
-rw-r--r--actions/admin/user/makeadmin.php1
-rw-r--r--actions/admin/user/resetpassword.php1
-rw-r--r--actions/admin/user/unban.php1
5 files changed, 5 insertions, 0 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php
index d64ae28a5..ce2631f54 100644
--- a/actions/admin/user/ban.php
+++ b/actions/admin/user/ban.php
@@ -14,6 +14,7 @@
// block non-admin users
admin_gatekeeper();
+ action_gatekeeper();
// Get the user
$guid = get_input('guid');
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php
index 300fa5671..ea5f79079 100644
--- a/actions/admin/user/delete.php
+++ b/actions/admin/user/delete.php
@@ -14,6 +14,7 @@
// block non-admin users
admin_gatekeeper();
+ action_gatekeeper();
// Get the user
$guid = get_input('guid');
diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php
index a0826dff0..6466966c9 100644
--- a/actions/admin/user/makeadmin.php
+++ b/actions/admin/user/makeadmin.php
@@ -15,6 +15,7 @@
// block non-admin users
admin_gatekeeper();
+ action_gatekeeper();
// Get the user
$guid = get_input('guid');
diff --git a/actions/admin/user/resetpassword.php b/actions/admin/user/resetpassword.php
index 6074777fe..60d739cf9 100644
--- a/actions/admin/user/resetpassword.php
+++ b/actions/admin/user/resetpassword.php
@@ -15,6 +15,7 @@
// block non-admin users
admin_gatekeeper();
+ action_gatekeeper();
// Get the user
$guid = get_input('guid');
diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php
index 61c62a47c..7f7ce3157 100644
--- a/actions/admin/user/unban.php
+++ b/actions/admin/user/unban.php
@@ -14,6 +14,7 @@
// block non-admin users
admin_gatekeeper();
+ action_gatekeeper();
$access_status = access_get_show_hidden_status();
access_show_hidden_entities(true);