[files_trashbin] Add CSRF token
This commit is contained in:
parent
b8e6b8692b
commit
018c5f69c0
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
|
||||
if(!OCP\User::isLoggedIn()) {
|
||||
exit;
|
||||
}
|
||||
OCP\User::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$files = $_REQUEST['files'];
|
||||
$dirlisting = $_REQUEST['dirlisting'];
|
||||
|
|
Loading…
Reference in New Issue