XSRF checks

This commit is contained in:
Lukas Reschke 2012-08-10 00:44:35 +02:00
parent 334296b027
commit 2dfc485149
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
<?php
OCP\JSON::checkAppEnabled('files_external');
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$view = \OCP\Files::getStorage("files_external");
$cert = $_POST['cert'];