XSRF checks
This commit is contained in:
parent
334296b027
commit
2dfc485149
|
@ -1,6 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_external');
|
OCP\JSON::checkAppEnabled('files_external');
|
||||||
|
OCP\JSON::checkLoggedIn();
|
||||||
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
$view = \OCP\Files::getStorage("files_external");
|
$view = \OCP\Files::getStorage("files_external");
|
||||||
$cert = $_POST['cert'];
|
$cert = $_POST['cert'];
|
||||||
|
|
Loading…
Reference in New Issue