Use server specific uid

parent d3056feb
......@@ -9,7 +9,7 @@ module Gitlab
attr_accessor :entry, :provider
def self.find_by_uid(uid, adapter)
adapter.user(Gitlab.config.ldap.uid, uid)
adapter.user(adapter.config.uid, uid)
end
def self.find_by_dn(dn, adapter)
......
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