[files_trashbin] Add CSRF token

remotes/origin/stable5
Lukas Reschke 14 years ago
parent b8e6b8692b
commit 018c5f69c0
  1. 5
      apps/files_trashbin/ajax/undelete.php

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

Loading…
Cancel
Save