summaryrefslogtreecommitdiffstats
path: root/settings/js/users/users.js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-05 13:28:39 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-08 17:13:50 +0100
commit51ec928623fe5d2aa0b010546f59807513c32052 (patch)
tree965ed2be435a8673633acc3da5aff128f844624b /settings/js/users/users.js
parent1f9a5c0d7fb0db6c31ff7eefa28db0642be7b385 (diff)
downloadnextcloud-server-51ec928623fe5d2aa0b010546f59807513c32052.tar.gz
nextcloud-server-51ec928623fe5d2aa0b010546f59807513c32052.zip
Send the group ids to the server on user creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r--settings/js/users/users.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 1a20edd19d1..847cceb8cc3 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -1071,6 +1071,7 @@ $(document).ready(function () {
promise.then(function () {
var groups = $('#newuser .groups').data('groups') || {};
+ groups = Object.keys(groups);
$.post(
OC.generateUrl('/settings/users/users'),
{