summaryrefslogtreecommitdiff
path: root/app/controllers/sessions_controller.rb
diff options
context:
space:
mode:
authorJan-Willem van der Meer <mail@jewilmeer.nl>2014-10-14 13:11:53 +0200
committerJan-Willem van der Meer <mail@jewilmeer.nl>2014-10-14 13:13:59 +0200
commit6ce65a3e950532e8fb65cf188eb5df9a6eddfb39 (patch)
treeace2949d72914b88506691910b940588db0f2e81 /app/controllers/sessions_controller.rb
parent9bf7bfda20a466b375a459b95068de8c0139fc9a (diff)
downloadgitlab-ce-6ce65a3e950532e8fb65cf188eb5df9a6eddfb39.tar.gz
Use Hash syntax for LDAP server declaration
Diffstat (limited to 'app/controllers/sessions_controller.rb')
-rw-r--r--app/controllers/sessions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index e918f46bb3e..5ced98152a5 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -19,7 +19,7 @@ class SessionsController < Devise::SessionsController
end
if Gitlab.config.ldap.enabled
- @ldap_servers = Gitlab.config.ldap.servers
+ @ldap_servers = Gitlab::LDAP::Config.servers
end
super