Added a missing CSRF check

Este commit está contenido en:
Lukas Reschke 2012-09-22 11:02:03 +02:00
padre 80aa44565b
commit ac79fe649c

Ver fichero

@ -21,6 +21,8 @@
require_once '../../lib/base.php';
OC_JSON::checkLoggedIn();
OCP\JSON::callCheck();
if (isset($_POST['action']) && isset($_POST['itemType']) && isset($_POST['itemSource'])) {
switch ($_POST['action']) {
case 'share':