[f19-branch/master 1/2] Show User password strength during entry

Brian C. Lane bcl at redhat.com
Tue Jun 4 15:51:30 UTC 2013


On Tue, Jun 04, 2013 at 11:07:28AM -0400, Chris Lumens wrote:
> > @@ -357,6 +344,13 @@ class UserSpoke(FirstbootSpokeMixIn, NormalSpoke):
> >              text = _("Strong")
> >              self._error = False
> >  
> > +        if not self.pw.get_text():
> > +            val = 0
> > +            text = _("Empty!")
> > +            self._error = _("The password is empty!")
> > +        elif self.confirm.get_text() and self.pw.get_text() != self.confirm.get_text():
> > +            self._error = _("The passwords do not match!")
> > +
> >          self.pw_bar.set_value(val)
> >          self.pw_label.set_text(text)
> 
> I realize you're just moving the strings around.  But, do they really
> deserve exclamation points?

NO!

I can change them in both places.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130604/70f73e66/attachment.sig>


More information about the anaconda-patches mailing list