Issue #458
closedUser create lets you create a user without a password but login fails
Description
Description of problem:
A user can be created without any password but trying to login with that user fails.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Run pulp-admin auth login -u foo and hit enter
2. Hit enter for password and confirm password
3.Run pulp-admin login -u foo
Actual results:
[root@ibm-x3550m3-10 ~]# pulp-admin auth user create --login user2
Enter password for user [user2] :
Re-enter password for user [user2]:
User [user2] successfully created
[root@ibm-x3550m3-10 ~]# pulp-admin login -u user2
Enter password:
Authentication Failed
Use the login command to authenticate with the server and download a session
certificate for use in future calls to this script. If credentials were
specified, please double check the username and password and attempt the request
again.
Expected results:
Additional info:
+ This bug was cloned from Bugzilla Bug #1111591 +