CSRF checks
This commit is contained in:
parent
04a0755fd3
commit
2c318f45f4
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
// Check if we are a user
|
// Check if we are a user
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
OCP\JSON::callCheck();
|
||||||
|
|
||||||
// Get paramteres
|
// Get paramteres
|
||||||
$filecontents = isset($_POST['filecontents']) ? $_POST['filecontents'] : false;
|
$filecontents = isset($_POST['filecontents']) ? $_POST['filecontents'] : false;
|
||||||
|
|
Loading…
Reference in New Issue