Added XSRF check
This commit is contained in:
parent
3644517b01
commit
76e0ca785b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue