summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'users.py')
-rw-r--r--users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/users.py b/users.py
index 3f5d73538..4d2e1a5dd 100644
--- a/users.py
+++ b/users.py
@@ -129,6 +129,7 @@ class Users:
self.admin.lockUser(userEnt)
# Add the user to all the groups they should be part of.
+ grpLst.append(self.admin.lookupGroupByName(name))
for grp in grpLst:
grp.add(libuser.MEMBERNAME, name)
self.admin.modifyGroup(grp)