Commit d4d0852d authored by Douwe Maan's avatar Douwe Maan

Merge pull request #8995 from MichaelAlt/patch-1

Faulty LDAP DN name escaping removed
parents bc4e2518 1502fed7
...@@ -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