Commit 662aa8ec authored by Douwe Maan's avatar Douwe Maan

No mb_chars needed anymore

parent 1d3889eb
...@@ -14,7 +14,7 @@ module Gitlab ...@@ -14,7 +14,7 @@ module Gitlab
# LDAP distinguished name is case-insensitive # LDAP distinguished name is case-insensitive
identity = ::Identity. identity = ::Identity.
where(provider: provider). where(provider: provider).
iwhere(extern_uid: uid.mb_chars.to_s).last iwhere(extern_uid: uid).last
identity && identity.user identity && identity.user
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment