[rhel6-branch 3/4] Show warning if the bootloader password is empty (#745805)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/blpasswidget.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py
index f6d013e..218ae7e 100644
--- a/iw/blpasswidget.py
+++ b/iw/blpasswidget.py
@@ -144,7 +144,12 @@ class BootloaderPasswordWidget:
 
             thePass = pwEntry.get_text()
             if not thePass:
+                self.intf.messageWindow(_("Password empty"),
+                                        _("You did not enter a password"),
+                                        type='warning')
+                dialog.present()
                 continue
+
             if len(thePass) < 6:
                 ret = self.intf.messageWindow(_("Warning"),
                                     _("Your boot loader password is shorter than "
-- 
1.7.5.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux