anaconda: allow locked root password

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-24 04:27:09 +01:00 committed by Jon Griffiths
parent 41896c82c4
commit 8e6a0a7091

View File

@ -175,6 +175,8 @@ class PasswordSpoke(FirstbootSpokeMixIn, NormalSpoke, GUISpokeInputCheckHandler)
# If the password was set by kickstart, skip this check
if self._kickstarted:
return InputCheck.CHECK_OK
if self.lock.get_active():
return InputCheck.CHECK_OK
if not self.get_input(inputcheck.input_obj):
if inputcheck.input_obj == self.pw: