diff options
author | Mike Fulbright <msf@redhat.com> | 2000-07-05 20:49:25 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-07-05 20:49:25 +0000 |
commit | 69e5ae6159f2f8b1e53a93173dd0f2f6ee8c3a29 (patch) | |
tree | bbf0216b2d65c2a5a8f1186bbc828f06c50c0930 /textw/userauth_text.py | |
parent | d7df2a7c3e921d9c136bdf1a4605e20161295725 (diff) | |
download | anaconda-69e5ae6159f2f8b1e53a93173dd0f2f6ee8c3a29.tar.gz anaconda-69e5ae6159f2f8b1e53a93173dd0f2f6ee8c3a29.tar.xz anaconda-69e5ae6159f2f8b1e53a93173dd0f2f6ee8c3a29.zip |
echo astrerix when typing in passwords like GUI does
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r-- | textw/userauth_text.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index f395aaacc..5a5fb41fa 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -18,8 +18,8 @@ class RootPasswordWindow: pw = todo.rootpassword.getPure() if not pw: pw = "" - entry1 = Entry (24, hidden = 1, text = pw) - entry2 = Entry (24, hidden = 1, text = pw) + entry1 = Entry (24, password = 1, text = pw) + entry2 = Entry (24, password = 1, text = pw) passgrid = Grid (2, 2) passgrid.setField (Label (_("Password:")), 0, 0, (0, 0, 1, 0), anchorLeft = 1) passgrid.setField (Label (_("Password (again):")), 0, 1, (0, 0, 1, 0), anchorLeft = 1) @@ -65,8 +65,8 @@ class UsersWindow: userid = Entry (9, user["id"]) currentid = user["id"] fullname = Entry (20, user["name"], scroll = 1) - pass1 = Entry (10, user["password"], hidden = 1) - pass2 = Entry (10, user["password"], hidden = 1) + pass1 = Entry (10, user["password"], password = 1) + pass2 = Entry (10, user["password"], password = 1) if edit: title = _("Edit User") |