Use server specific uid

This commit is contained in:
Jan-Willem van der Meer 2014-10-14 10:54:43 +02:00
parent d3056feb11
commit 18d2ee31e8
1 changed files with 1 additions and 1 deletions

View File

@ -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)