]> source.dussan.org Git - redmine.git/commit
Change User#login to be case-insensitive. #2473
authorEric Davis <edavis@littlestreamsoftware.com>
Sun, 20 Jun 2010 21:40:50 +0000 (21:40 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sun, 20 Jun 2010 21:40:50 +0000 (21:40 +0000)
commitde17640489493feac688d2e721f2c0f2d599536e
treeb8b33ab789aba7ef7e8b4e857e5d2bfcda7fcc16
parent7376ef2ad73d71b8e60582d0dcbb2269be29da86
Change User#login to be case-insensitive. #2473

This change also overrides User#find_by_login to give priority to exact
matches in the login.

Contributed by Greg Mefford

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3807 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/user.rb
test/unit/user_test.rb