CSRF checks

This commit is contained in:
Lukas Reschke 2012-07-07 16:08:27 +02:00
parent 04a0755fd3
commit 2c318f45f4
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
// Get paramteres
$filecontents = isset($_POST['filecontents']) ? $_POST['filecontents'] : false;