diff options
author | raghunayyar <me@iraghu.com> | 2014-02-20 11:54:41 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 14:53:52 +0400 |
commit | 16fb48f2ebf9e7c67972fa74e8a421c9ce694fba (patch) | |
tree | 1746f94e94791f251b4591b37911135d6f1744fd /settings/ajax | |
parent | 63645461f01c915ac0a4aadd0b81ab534209cdbc (diff) |
Adds admin check on groupname changes.
Diffstat (limited to 'settings/ajax')
-rw-r--r-- | settings/ajax/changegroupname.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/ajax/changegroupname.php b/settings/ajax/changegroupname.php index cbf1e3e5e86..2b149b2bba5 100644 --- a/settings/ajax/changegroupname.php +++ b/settings/ajax/changegroupname.php @@ -4,6 +4,8 @@ OCP\JSON::callCheck(); OC_JSON::checkLoggedIn(); +OCP\JSON::checkAdminUser(); + $l=OC_L10N::get('core'); $groupname = $_POST["groupname"]; |