Bug 1590398 - Cannot login with an uppercase letter in username
Summary: Cannot login with an uppercase letter in username
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.10.0
Assignee: Joe Vlcek
QA Contact: Dave Johnson
URL:
Whiteboard:
: 1601007 1632638 (view as bug list)
Depends On:
Blocks: 1638501
TreeView+ depends on / blocked
 
Reported: 2018-06-12 14:47 UTC by Antonin Pagac
Modified: 2019-08-22 00:55 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1638501 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:02:13 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error shown with uppercase username (79.08 KB, image/png)
2018-06-12 14:47 UTC, Antonin Pagac
no flags Details

Description Antonin Pagac 2018-06-12 14:47:09 UTC
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

Comment 3 Joe Vlcek 2018-06-13 20:19:48 UTC
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

Comment 6 CFME Bot 2018-06-21 15:45:51 UTC
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(-)

Comment 7 Antonin Pagac 2018-07-02 08:28:33 UTC
Verified in 5.10.0.2.

Comment 8 Joe Vlcek 2018-07-18 17:09:03 UTC
*** Bug 1601007 has been marked as a duplicate of this bug. ***

Comment 9 Joe Vlcek 2018-10-11 18:24:32 UTC
*** Bug 1632638 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.