Commit ebd2ed8f authored by Douwe Maan's avatar Douwe Maan

Pass OmniAuth formatted options to OmniAuth::LDAP::Adaptor

parent 6fe736f2
---
title: Fix LDAP authentication to Git repository or container registry
merge_request:
author:
...@@ -42,7 +42,7 @@ module Gitlab ...@@ -42,7 +42,7 @@ module Gitlab
end end
def adapter def adapter
OmniAuth::LDAP::Adaptor.new(config.options.symbolize_keys) OmniAuth::LDAP::Adaptor.new(config.omniauth_options)
end end
def config def config
......
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