diff options
author | Drew Blessing <drew@gitlab.com> | 2015-10-08 14:59:46 -0500 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-10-08 14:59:46 -0500 |
commit | b7def88c02b3726259800a25ee8bb82c866fe673 (patch) | |
tree | 7a7e35049cbcf347d97019da5b138dc2fab8629a /lib | |
parent | 680b6d88a5c0d63deeb2909f1c83e3630db87780 (diff) | |
download | gitlab-ce-b7def88c02b3726259800a25ee8bb82c866fe673.tar.gz |
Fix ldap email downcasing bug
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ldap/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ldap/user.rb b/lib/gitlab/ldap/user.rb index 1ea7751e27d..4be99dd88c2 100644 --- a/lib/gitlab/ldap/user.rb +++ b/lib/gitlab/ldap/user.rb @@ -35,7 +35,7 @@ module Gitlab end def find_by_email - ::User.find_by(email: auth_hash.email) + ::User.find_by(email: auth_hash.email.downcase) end def update_user_attributes |