mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #1434 from owncloud/trashbin_CSRF
[files_trashbin] Add CSRF token
This commit is contained in:
commit
fee3f80501
1 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
|
||||
if(!OCP\User::isLoggedIn()) {
|
||||
exit;
|
||||
}
|
||||
OCP\JSON::checkLoggedIn();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$files = $_REQUEST['files'];
|
||||
$dirlisting = $_REQUEST['dirlisting'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue