summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-10 00:11:04 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-08-10 00:11:04 +0200
commit5192eecce239a0b7ade1e60a6cf03075e5cfc188 (patch)
tree4c60e96723923578d30678e6154875d054aed2c9
parent7581d55428918ae97f31695ce98c2f0d2b86efb8 (diff)
downloadnextcloud-server-5192eecce239a0b7ade1e60a6cf03075e5cfc188.tar.gz
nextcloud-server-5192eecce239a0b7ade1e60a6cf03075e5cfc188.zip
Added XSRF check
-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 84e0710c74a..bf749be3e30 100644
--- a/core/ajax/appconfig.php
+++ b/core/ajax/appconfig.php
@@ -7,6 +7,7 @@
require_once ("../../lib/base.php");
OC_Util::checkAdminUser();
+OCP\JSON::callCheck();
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;