summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ajax/appconfig.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php
index f815d710631..de91d458ed1 100644
--- a/core/ajax/appconfig.php
+++ b/core/ajax/appconfig.php
@@ -6,6 +6,7 @@
*/
require_once ("../../lib/base.php");
+OC_Util::checkAdminUser();
OC_JSON::checkLoggedIn();
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;