Use server specific uid
This commit is contained in:
parent
d3056feb11
commit
18d2ee31e8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue