aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/users
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/users')
-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'),
{