]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added XSRF check
authorLukas Reschke <lukas@statuscode.ch>
Thu, 9 Aug 2012 22:11:04 +0000 (00:11 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 12:58:48 +0000 (14:58 +0200)
core/ajax/appconfig.php

index 84e0710c74a5c36b40e73d240221f4cd880befd1..bf749be3e30db95dadabc419f663974f6300cae9 100644 (file)
@@ -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;