mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 05:56:37 +10:00
Merge pull request #8995 from MichaelAlt/patch-1
Faulty LDAP DN name escaping removed
This commit is contained in:
committed by
Marin Jankovski
parent
16d6f0e35b
commit
6b3cff19e9
@@ -14,7 +14,6 @@ module Gitlab
|
||||
end
|
||||
|
||||
def self.find_by_dn(dn, adapter)
|
||||
dn = Net::LDAP::Filter.escape(dn)
|
||||
adapter.user('dn', dn)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user