diff options
Diffstat (limited to 'core/ajax/appconfig.php')
-rw-r--r-- | core/ajax/appconfig.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php index f815d710631..84e0710c74a 100644 --- a/core/ajax/appconfig.php +++ b/core/ajax/appconfig.php @@ -6,7 +6,8 @@ */ require_once ("../../lib/base.php"); -OC_JSON::checkLoggedIn(); +OC_Util::checkAdminUser(); + $action=isset($_POST['action'])?$_POST['action']:$_GET['action']; $result=false; switch($action){ |