Added XSRF check

This commit is contained in:
Lukas Reschke 2012-08-10 00:11:04 +02:00 committed by Jörn Friedrich Dreyer
parent 3644517b01
commit 76e0ca785b
1 changed files with 1 additions and 0 deletions

View 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;