mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Revert "FIX: find_by_attribute method in Rails 4.5 is case insensitive."
This reverts commit 2af587005b
.
This commit is contained in:
parent
c852fb83d0
commit
3142eb76dc
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class DiscourseSingleSignOn < SingleSignOn
|
|||
private
|
||||
|
||||
def match_email_or_create_user(ip_address)
|
||||
user = User.find_by(email: email)
|
||||
user = User.find_by_email(email)
|
||||
|
||||
try_name = name.blank? ? nil : name
|
||||
try_username = username.blank? ? nil : username
|
||||
|
|
Loading…
Reference in a new issue