summaryrefslogtreecommitdiffstats
path: root/iw/account.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/account.py')
-rw-r--r--iw/account.py3
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)