mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't return None on mismatched interactive passwords
This will cause the command to continue with no password set at all which is not what we want. We want to loop forever until the passwords match or the user gives up and types ^D or ^C. https://pagure.io/freeipa/issue/7383 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
df99af4a68
commit
0aaee0a97f
@ -627,7 +627,6 @@ class textui(backend.Backend):
|
||||
return pw1
|
||||
else:
|
||||
self.print_error(_('Passwords do not match!'))
|
||||
return None
|
||||
else:
|
||||
return self.decode(sys.stdin.readline().strip())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user