Project

General

Profile

Actions

Defect #2473

closed

Login and mail should not be case sensitive

Added by Teddy L almost 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Accounts / authentication
Target version:
Start date:
2009-01-08
Due date:
% Done:

100%

Estimated time:
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

user_rb.patch (1.56 KB) user_rb.patch Patch file for user.rb generated by TortoiseSVN 1.5.6 Teddy L, 2009-01-08 21:24
redmine-0.9-stable-r3695-login_case_insensitive.patch (1.18 KB) redmine-0.9-stable-r3695-login_case_insensitive.patch Case insensitive login patch for the Redmine 0.9-stable Stanislav German-Evtushenko, 2010-04-29 13:25

Related issues

Related to Redmine - Patch #4732: Make login case-insensitive also for PostgreSQLClosedEric Davis2010-02-03

Actions
Has duplicate Redmine - Feature #2330: Option for able to turn on case insensitive loginClosed2008-12-12

Actions
Actions

Also available in: Atom PDF