summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-26 00:06:51 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-26 01:16:32 +0200
commit1554d7a2c01a97305d67f9ba04f736814705e839 (patch)
tree1b63c0950f2f6287654ae4248d1a97f45b409198 /core
parentefbd7ca16626f6d066c19354710e29f50bbfddc9 (diff)
downloadnextcloud-server-1554d7a2c01a97305d67f9ba04f736814705e839.tar.gz
nextcloud-server-1554d7a2c01a97305d67f9ba04f736814705e839.zip
Check for admin user
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;