Added XSRF check
This commit is contained in:
parent
26a9d7ea71
commit
ab97c04894
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
require_once ("../../lib/base.php");
|
require_once ("../../lib/base.php");
|
||||||
OC_Util::checkAdminUser();
|
OC_Util::checkAdminUser();
|
||||||
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
|
$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
|
||||||
$result=false;
|
$result=false;
|
||||||
|
|
Loading…
Reference in New Issue