Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-26 02:06:51 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-07-26 02:06:51 +0400
commit9605e1926c6081e88326bf78a02c1d1b83126c4f (patch)
tree7a082ae6fcfe74e1ba06a1306a82d86cb93b228e /core
parent85a410d7a303b5d35529850fbb67fc82b962c7e1 (diff)
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;