Use server specific uid

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