Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-02-20 11:54:41 +0400
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 14:53:52 +0400
commit16fb48f2ebf9e7c67972fa74e8a421c9ce694fba (patch)
tree1746f94e94791f251b4591b37911135d6f1744fd /settings/ajax
parent63645461f01c915ac0a4aadd0b81ab534209cdbc (diff)
Adds admin check on groupname changes.
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/changegroupname.php2
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"];