diff options
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r-- | iw/account_gui.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py index 25e1eae2b..ac3fd03f9 100644 --- a/iw/account_gui.py +++ b/iw/account_gui.py @@ -116,13 +116,13 @@ class AccountWindow (InstallWindow): accountName = self.userstore.get_value(iter, 0) fullName = self.userstore.get_value(iter, 1) password = self.passwords[accountName] - return (accountName, fullName, password) def userSelected(self, selection, *args): self.edit.set_sensitive(gtk.TRUE) self.delete.set_sensitive(gtk.TRUE) + def addUser_cb(self): accountName = self.accountName.get_text() password1 = self.userPass1.get_text() @@ -133,6 +133,8 @@ class AccountWindow (InstallWindow): return if accountName == "root": return + if len(password1) < 6: + return if self.passwords.has_key (accountName): return |