OSDN Git Service

Ensure LDAP provided email is always compared case-insensitively.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 24 Feb 2012 14:35:44 +0000 (14:35 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 23 Mar 2012 14:59:54 +0000 (14:59 +0000)
commitb9b65b8d4e15bc7eec521b27f385ed62fb08d23f
treea32990c8fab68622344887a1814d7f620fc5b53f
parentfa8219e0a753e642a6f1dbdfc010d01ae8a949ee
Ensure LDAP provided email is always compared case-insensitively.

LDAP databases may store email addresses in mixed case so
ensure we only work with a lower case version to avoid missing
a valid account after LDAP login.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
app/models/user.rb