UserManager updateUser fails when uppercase lowercase spelling in email address changed (e.g. LDAP plugin) #14939
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Help wanted
Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
When uppercase/lowercase spelling changed for the email address (e.g. synchronized via LDAP), UserManager updateUser method fails (and therefore, in case of LDAP, auth fails).
This is because the comparison of old/new email address is case sensitive, but the duplicate check for that email address in the database is case insensitive. That leads to an exception.
The text was updated successfully, but these errors were encountered: