URL:
https://github.com/freeipa/freeipa/pull/1622
Author: rcritten
Title: #1622: Don't return None on mismatched interactive passwords
Action: opened
PR body:
"""
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(a)redhat.com>
Note that automated testing of this is difficult to impossible because the client code
detects when data is being passed in via a pipe. so we can't pass in the mismatch
passwords via stdin_text, it would have to be some much more complicated I fear.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1622/head:pr1622
git checkout pr1622