From 51ec928623fe5d2aa0b010546f59807513c32052 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 5 Mar 2018 13:28:39 +0100 Subject: [PATCH] Send the group ids to the server on user creation Signed-off-by: Joas Schilling --- settings/js/users/users.js | 1 + 1 file changed, 1 insertion(+) diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 1a20edd19d..847cceb8cc 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'), {