Commit 6b3cff19 authored by Douwe Maan's avatar Douwe Maan Committed by Marin Jankovski

Merge pull request #8995 from MichaelAlt/patch-1

Faulty LDAP DN name escaping removed
parent 16d6f0e3
...@@ -14,7 +14,6 @@ module Gitlab ...@@ -14,7 +14,6 @@ module Gitlab
end end
def self.find_by_dn(dn, adapter) def self.find_by_dn(dn, adapter)
dn = Net::LDAP::Filter.escape(dn)
adapter.user('dn', dn) adapter.user('dn', dn)
end end
......
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