summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iw/account_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 6ff834eef..808b2e39b 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -51,7 +51,7 @@ class AccountWindow (InstallWindow):
if (password1 and password1 == password2 and
self.userAccountMatch.search(accountName) and
- len(accountName) <= 8) and accountName != "root":
+ len(accountName) <= 8 and len(password1) > 5) and accountName != "root":
valid = 1
self.userPwLabel.set_text(_("User password accepted."))
else: