diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-14 00:54:35 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-14 00:54:35 +0000 |
commit | 565d5ab529d2dd8bfa78f6cd1febefa6ba703c92 (patch) | |
tree | d8ab46a3e45aae77f29384b84e885aa799adac57 /iw/account.py | |
parent | 12e7f60d6a97b6c4eb59dda70c0371f144491c97 (diff) | |
download | anaconda-565d5ab529d2dd8bfa78f6cd1febefa6ba703c92.tar.gz anaconda-565d5ab529d2dd8bfa78f6cd1febefa6ba703c92.tar.xz anaconda-565d5ab529d2dd8bfa78f6cd1febefa6ba703c92.zip |
lilo fixes, don't allow adding duplicate users
Diffstat (limited to 'iw/account.py')
-rw-r--r-- | iw/account.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/account.py b/iw/account.py index 68934e627..e76605d2c 100644 --- a/iw/account.py +++ b/iw/account.py @@ -81,6 +81,9 @@ class AccountWindow (InstallWindow): if not (accountName and password1 and (password1 == password2)): return + if self.passwords.has_key (accountName): + return + if (self.editingUser != None): index = self.editingUser self.userList.set_text(index, 0, accountName) |