auth: Fix bug where usernames are not consistently capitalized when using crowd login If you try to log in to Kallithea via the Crowd auth module then the c...

Robert James Dennington committed on 2016-01-15 14:55:27
branch: stable
tag: tip
changeset: dba6c44f
auth: Fix bug where usernames are not consistently capitalized when using crowd login

If you try to log in to Kallithea via the Crowd auth module then the
capitalization of your username in Kallithea changes on every login based on
how you capitalized it in the login form.

E.g. Log in with "TestDude", username is entered as "TestDude" then log in
again, but this time as "tesTduDe", and your username gets changed to
"tesTduDe". etc.

Fix for this is to use the 'name' field returned from Crowd when saving the
username. This way the username is always capitalized identically to the record
in Crowd.

 M kallithea/lib/auth_modules/auth_crowd.py (1 lines added, 1 lines removed)
_______________________________________________
kallithea-general mailing list
kallithea-general@sfconservancy.org
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to