diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 16:02:33 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-07 16:02:33 +0200 |
commit | b7c510a61a5eaeba76284628fe76fc60b7035aed (patch) | |
tree | cdceacd9549785def8a7d5805e4f3792cccc77ce /apps | |
parent | 0abcf0a421e26a17de00d3bf3a890da1f1689c16 (diff) | |
download | nextcloud-server-b7c510a61a5eaeba76284628fe76fc60b7035aed.tar.gz nextcloud-server-b7c510a61a5eaeba76284628fe76fc60b7035aed.zip |
CSRF checks
Diffstat (limited to 'apps')
-rw-r--r-- | apps/external/ajax/setsites.php | 1 |
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++) { |