diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-07-20 20:39:20 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-07-20 20:39:20 +0200 |
commit | 93579d88dcea389205c01ddf6da41f37ad9b8745 (patch) | |
tree | 18a5db67b139054c45c363770439de7e70b9a913 /settings/ajax/creategroup.php | |
parent | 38271ded753bc9ea9943cef3c2706f8d71f3a58f (diff) | |
download | nextcloud-server-93579d88dcea389205c01ddf6da41f37ad9b8745.tar.gz nextcloud-server-93579d88dcea389205c01ddf6da41f37ad9b8745.zip |
CSRF checks
Diffstat (limited to 'settings/ajax/creategroup.php')
-rw-r--r-- | settings/ajax/creategroup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/creategroup.php b/settings/ajax/creategroup.php index 57d82e7bd94..a7fab1c45be 100644 --- a/settings/ajax/creategroup.php +++ b/settings/ajax/creategroup.php @@ -2,6 +2,7 @@ // Init owncloud require_once('../../lib/base.php'); +OCP\JSON::callCheck(); // Check if we are a user if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){ |