Created attachment 1450528[details]
Error shown with uppercase username
Description of problem:
User cannot login with uppercase letter in username, see screenshot.
Version-Release number of selected component (if applicable):
5.9.3.1
How reproducible:
Always
Steps to Reproduce:
1. Create new user with uppercase letter in username ("User")
2. Try to login with this user
3.
Actual results:
User cannot login; "Incorrect username or password" shown; Server Error dialog shown
Expected results:
User able to login with uppercase letter in username
Additional info:
Occurrs also in 5.8.4.4.
Authentication mode: Database, no external auth
Antonin,
Do you have an appliance where you have reproduced this issue that I could
log into?
Can you please post me the credentials for it in a private comment to this BZ?
Thank you. JoeV
New commit detected on ManageIQ/manageiq-api/master:
https://github.com/ManageIQ/manageiq-api/commit/2ef3d85d4714082a8e2e0d320c6b04d19fec30e5
commit 2ef3d85d4714082a8e2e0d320c6b04d19fec30e5
Author: Joe VLcek <jvlcek>
AuthorDate: Thu Jun 14 14:05:49 2018 -0400
Commit: Joe VLcek <jvlcek>
CommitDate: Thu Jun 14 14:05:49 2018 -0400
Ignore case of the userid when validating it.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1590398
lib/services/api/user_token_service.rb | 2 +-
spec/lib/services/api/user_token_service_spec.rb | 20 +-
2 files changed, 14 insertions(+), 8 deletions(-)
Created attachment 1450528 [details] Error shown with uppercase username Description of problem: User cannot login with uppercase letter in username, see screenshot. Version-Release number of selected component (if applicable): 5.9.3.1 How reproducible: Always Steps to Reproduce: 1. Create new user with uppercase letter in username ("User") 2. Try to login with this user 3. Actual results: User cannot login; "Incorrect username or password" shown; Server Error dialog shown Expected results: User able to login with uppercase letter in username Additional info: Occurrs also in 5.8.4.4. Authentication mode: Database, no external auth