Hub UI displays username in lower case even if actual GitHub username contains both lower and upper case #288
Closed
Description
Expected Behavior
Hub UI should display the username in the same way the user has kept in Github. Example my github username is fooBar but Hub UI displays my username as foobar.
Actual Behavior
Hub UI should display the username in same way we have in Github. example my Github username is fooBar so Hub UI should also display fooBar
Steps to Reproduce the Problem
- Have a github username such that it has both lowercase and uppercase letters.
- Login into Hub UI and see the username on top right corner.
Additional Info
Probable place where we need to fix is
hub/api/pkg/service/auth/auth.go
Line 135 in 9f05851
and the query needs to be updated as
hub/api/pkg/service/auth/auth.go
Line 126 in 9f05851
/good-first-issue