]> git.openstreetmap.org Git - rails.git/commit
Hack a way to make the email and display name case insensitive for logging in, based...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 23 Apr 2009 19:20:08 +0000 (19:20 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Thu, 23 Apr 2009 19:20:08 +0000 (19:20 +0000)
commitf1a0331081794ce17fd93fd2f06d89e6d6df8cba
treeec5df9e0b5e78aa17fe4c72a71ff4295df0fb2ae
parent64d076847b8b1a5899833db9a9ef88064cd14433
Hack a way to make the email and display name case insensitive for logging in, based on a suggestion by firefishy to use ILIKE. Changes requested from users on mailing list. Includes some tests to check the case insensitivity of the username, and and e-mail address on login.
app/models/user.rb
test/fixtures/users.yml
test/functional/user_controller_test.rb