Actions
Defect #2473
closedLogin and mail should not be case sensitive
Defect #2473:
Login and mail should not be case sensitive
Status:
Closed
Priority:
High
Assignee:
Category:
Accounts / authentication
Target version:
Resolution:
Fixed
Affected version:
Description
Actually, uniqueness tests on login and mail fields are case sensitive, so you can have many accounts with same login and/or mail. And the "=" statement isn't case sensitive for strings on all databases, the method find_by_login need a fix to be case insensitive like find_by_mail.
For example, when i use Redmine with sqlite3, there are sides effects with "On the fly" ldap acounts creation and with SVN users automatic assignement because of find_by_login matching "login" with "login" but not "login" with "Login" ...
Files
Actions