summaryrefslogtreecommitdiffstats
path: root/textw/userauth_text.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-09-21 19:36:34 +0000
committerbfox <bfox>2001-09-21 19:36:34 +0000
commit1f69a30f88013c92bb0d2cabb11d5d9058ae10ec (patch)
tree7b0e66cab9daf910b978726d5094e56b23990e11 /textw/userauth_text.py
parent0fe41b216eaade4eda1bbdb7280ad656722de09e (diff)
downloadanaconda-1f69a30f88013c92bb0d2cabb11d5d9058ae10ec.tar.gz
anaconda-1f69a30f88013c92bb0d2cabb11d5d9058ae10ec.tar.xz
anaconda-1f69a30f88013c92bb0d2cabb11d5d9058ae10ec.zip
remove 8 char limit on usernames. Resolves bug 27011help
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r--textw/userauth_text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py
index f039ee8ed..596cb13dc 100644
--- a/textw/userauth_text.py
+++ b/textw/userauth_text.py
@@ -80,7 +80,7 @@ class UsersWindow:
'mailnull', 'rpm', 'ident', 'rpc', 'rpcuser', 'radvd', 'xfs', 'gdm', 'apache',
'squid']
- username = Entry (8, user["id"], scroll=0)
+ username = Entry (32, user["id"], scroll=0)
currentid = user["id"]
pass1 = Entry (10, user["password"], password = 1)
pass2 = Entry (10, user["password"], password = 1)
@@ -116,10 +116,10 @@ class UsersWindow:
not len(username.value()) and not len(fullname.value()):
return INSTALL_OK
- if (not len(username.value()) or not iutil.validUser(username.value())):
+ if (not iutil.validUser(username.value())):
ButtonChoiceWindow(self.screen, _("Bad User Name"),
- _("User names must be less than 8 "
- "characters and contain only characters "
+ _("User names must "
+ "contain only characters "
"A-Z, a-z, and 0-9."),
buttons = [ TEXT_OK_BUTTON ], width = 50)
continue