diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-21 11:33:00 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 15:06:49 -0500 |
commit | d057e82ad155654b511b513d239c843c7ebf7082 (patch) | |
tree | 3a1f327cb52afcc729e289c0d919375a13f2e8af /textw | |
parent | d6d4c4800ebc2958eb87a706e4a7c799647ca447 (diff) | |
download | anaconda-d057e82ad155654b511b513d239c843c7ebf7082.tar.gz anaconda-d057e82ad155654b511b513d239c843c7ebf7082.tar.xz anaconda-d057e82ad155654b511b513d239c843c7ebf7082.zip |
Move users and security to the Anaconda object.
This patch also moves rootPassword into Users where it belongs and auth
into Security where it belongs.
Diffstat (limited to 'textw')
-rw-r--r-- | textw/userauth_text.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index 87983484d..111858c47 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -36,13 +36,13 @@ class RootPasswordWindow: "mistake. ")), 0, 0, (0, 0, 0, 1)) - if anaconda.id.rootPassword["isCrypted"]: - anaconda.id.rootPassword["password"] = "" + if anaconda.users.rootPassword["isCrypted"]: + anaconda.users.rootPassword["password"] = "" entry1 = Entry(24, password=1, - text=anaconda.id.rootPassword["password"]) + text=anaconda.users.rootPassword["password"]) entry2 = Entry(24, password=1, - text=anaconda.id.rootPassword["password"]) + text=anaconda.users.rootPassword["password"]) passgrid = Grid(2, 2) passgrid.setField(Label(_("Password:")), 0, 0, (0, 0, 1, 0), anchorLeft=1) @@ -94,8 +94,8 @@ class RootPasswordWindow: entry2.set("") screen.popWindow() - anaconda.id.rootPassword["password"] = entry1.value() - anaconda.id.rootPassword["isCrypted"] = False + anaconda.users.rootPassword["password"] = entry1.value() + anaconda.users.rootPassword["isCrypted"] = False return INSTALL_OK def hasBadChars(self, pw): |