aboutsummaryrefslogtreecommitdiff
path: root/mod/apiadmin/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/apiadmin/actions')
-rw-r--r--mod/apiadmin/actions/generate.php1
-rw-r--r--mod/apiadmin/actions/revokekey.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/mod/apiadmin/actions/generate.php b/mod/apiadmin/actions/generate.php
index ca47deb3d..32265bab3 100644
--- a/mod/apiadmin/actions/generate.php
+++ b/mod/apiadmin/actions/generate.php
@@ -2,6 +2,7 @@
global $CONFIG;
admin_gatekeeper();
+ action_gatekeeper();
$ref = get_input('ref');
diff --git a/mod/apiadmin/actions/revokekey.php b/mod/apiadmin/actions/revokekey.php
index eeb5dd791..6252c3828 100644
--- a/mod/apiadmin/actions/revokekey.php
+++ b/mod/apiadmin/actions/revokekey.php
@@ -3,6 +3,7 @@
global $CONFIG;
admin_gatekeeper();
+ action_gatekeeper();
$key = (int)get_input('keyid');