 -            dialog = PasswordDialog(user, self.password_mask, self.groups_label, self.window)
 +            dialog = PasswordDialog(user, self.password_mask, self.window)
              response = dialog.run()
- 
+
      def _on_groups_button_clicked(self, widget):
 @@ -807,11 +799,11 @@
              pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)

+                subprocess.call(["usermod", username, "-G", "%s" % username])
             self.load_groups()
         dialog.destroy()
 

--- a/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py
+++ b/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py
@@ -153,12 +153,11 @@

 class PasswordDialog(Gtk.Dialog):

-    def __init__ (self, user, password_mask, group_mask, parent = None):
+    def __init__ (self, user, password_mask, parent = None):
         super(PasswordDialog, self).__init__(None, parent)

         self.user = user
         self.password_mask = password_mask
-        self.group_mask = group_mask

         self.set_modal(True)
         self.set_skip_taskbar_hint(True)
@@ -224,14 +223,7 @@
