Skip to content
Snippets Groups Projects
Commit ac79fe64 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Added a missing CSRF check

parent 80aa4456
No related branches found
No related tags found
No related merge requests found
......@@ -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':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment