Merge pull request #1434 from owncloud/trashbin_CSRF

[files_trashbin] Add CSRF token
remotes/origin/stable5
Björn Schießle 14 years ago
commit fee3f80501
  1. 5
      apps/files_trashbin/ajax/undelete.php

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

Loading…
Cancel
Save