diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-26 00:06:51 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-26 00:06:51 +0200 |
commit | 9605e1926c6081e88326bf78a02c1d1b83126c4f (patch) | |
tree | 7a082ae6fcfe74e1ba06a1306a82d86cb93b228e /core/ajax/appconfig.php | |
parent | 85a410d7a303b5d35529850fbb67fc82b962c7e1 (diff) | |
download | nextcloud-server-9605e1926c6081e88326bf78a02c1d1b83126c4f.tar.gz nextcloud-server-9605e1926c6081e88326bf78a02c1d1b83126c4f.zip |
Check for admin user
Diffstat (limited to 'core/ajax/appconfig.php')
-rw-r--r-- | core/ajax/appconfig.php | 1 |
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; |