summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-07 16:02:33 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-07-07 16:02:33 +0200
commitb7c510a61a5eaeba76284628fe76fc60b7035aed (patch)
treecdceacd9549785def8a7d5805e4f3792cccc77ce /apps
parent0abcf0a421e26a17de00d3bf3a890da1f1689c16 (diff)
downloadnextcloud-server-b7c510a61a5eaeba76284628fe76fc60b7035aed.tar.gz
nextcloud-server-b7c510a61a5eaeba76284628fe76fc60b7035aed.zip
CSRF checks
Diffstat (limited to 'apps')
-rw-r--r--apps/external/ajax/setsites.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/external/ajax/setsites.php b/apps/external/ajax/setsites.php
index 772863974ae..188e71e891c 100644
--- a/apps/external/ajax/setsites.php
+++ b/apps/external/ajax/setsites.php
@@ -8,6 +8,7 @@
OCP\User::checkAdminUser();
+OCP\JSON::callCheck();
$sites = array();
for ($i = 0; $i < sizeof($_POST['site_name']); $i++) {