From 18d2ee31e81e617a4c860359cb29f9118b8a3e70 Mon Sep 17 00:00:00 2001 From: Jan-Willem van der Meer Date: Tue, 14 Oct 2014 10:54:43 +0200 Subject: Use server specific uid --- lib/gitlab/ldap/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab/ldap/person.rb') diff --git a/lib/gitlab/ldap/person.rb b/lib/gitlab/ldap/person.rb index eae0a87a502..3e0b3e6cbf8 100644 --- a/lib/gitlab/ldap/person.rb +++ b/lib/gitlab/ldap/person.rb @@ -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) -- cgit v1.2.1