Clear the user entry text fields (#736193)
The user is created immediately when pressed forward,
so if we go back, and the text fields are already filled with the old values, after we press forward again, firstboot tries to create the user again which results in an error. If the text fields are cleared out, you can skip creating the user, because you already have one created. --- modules/create_user.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/modules/create_user.py b/modules/create_user.py index d1b9365..1ce4061 100644 --- a/modules/create_user.py +++ b/modules/create_user.py @@ -400,7 +400,10 @@ class moduleClass(Module): self.fullnameEntry.grab_focus() def initializeUI(self): - pass + self.fullnameEntry.set_text("") + self.usernameEntry.set_text("") + self.passwordEntry.set_text("") + self.confirmEntry.set_text("") def _runAuthconfig(self, *args): self.nisFlag = 1 -- 1.7.3.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 07:55 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.