[files_trashbin] Add CSRF token

This commit is contained in:
Lukas Reschke 2013-02-03 22:49:12 +01:00
parent b8e6b8692b
commit 018c5f69c0
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,7 @@
<?php
if(!OCP\User::isLoggedIn()) {
exit;
}
OCP\User::checkLoggedIn();
OCP\JSON::callCheck();
$files = $_REQUEST['files'];
$dirlisting = $_REQUEST['dirlisting'];