summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-10 00:07:46 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-08-10 00:09:00 +0200
commitab97c04894ebce03b5b19e29ea677be8abca87ef (patch)
tree4555e7b1d1fe2717686bffe16a7c0659a0d2b3be /core/ajax
parent26a9d7ea718b2c5f9080a4be54099b3626f56cff (diff)
downloadnextcloud-server-ab97c04894ebce03b5b19e29ea677be8abca87ef.tar.gz
nextcloud-server-ab97c04894ebce03b5b19e29ea677be8abca87ef.zip
Added XSRF check
Diffstat (limited to 'core/ajax')
-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;