mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Added XSRF check
This commit is contained in:
parent
26a9d7ea71
commit
ab97c04894
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue