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

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



---
 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


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