summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-23 14:21:21 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-23 14:21:58 +0200
commit6b2b20af417b09e0c6a404206b89e7e2ab7be0ed (patch)
tree7ee5b010cbec1f7b0776fe038cdd6dcd153dccc1 /lib
parent30eaf4840bfc22711758f303fa981a5fc64cd217 (diff)
downloadgitlab-ce-6b2b20af417b09e0c6a404206b89e7e2ab7be0ed.tar.gz
Fix LDAP authentication for Git HTTP access
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ldap/authentication.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/ldap/authentication.rb b/lib/gitlab/ldap/authentication.rb
index a5944f96983..8af2c74e959 100644
--- a/lib/gitlab/ldap/authentication.rb
+++ b/lib/gitlab/ldap/authentication.rb
@@ -42,7 +42,7 @@ module Gitlab
end
def adapter
- OmniAuth::LDAP::Adaptor.new(config.options)
+ OmniAuth::LDAP::Adaptor.new(config.options.symbolize_keys)
end
def config
@@ -68,4 +68,4 @@ module Gitlab
end
end
end
-end \ No newline at end of file
+end