mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 21:03:00 -04:00
CSRF checks
This commit is contained in:
parent
0abcf0a421
commit
b7c510a61a
1 changed files with 1 additions and 0 deletions
1
apps/external/ajax/setsites.php
vendored
1
apps/external/ajax/setsites.php
vendored
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
|
||||
OCP\User::checkAdminUser();
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
$sites = array();
|
||||
for ($i = 0; $i < sizeof($_POST['site_name']); $i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue