summaryrefslogtreecommitdiff
path: root/config/initializers/omniauth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/omniauth.rb')
-rw-r--r--config/initializers/omniauth.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb
index 0e4cb88b50f..a2720ab9986 100644
--- a/config/initializers/omniauth.rb
+++ b/config/initializers/omniauth.rb
@@ -1,6 +1,6 @@
-if Gitlab::Auth::LDAP::Config.enabled?
+if Gitlab::Auth::Ldap::Config.enabled?
module OmniAuth::Strategies
- Gitlab::Auth::LDAP::Config.available_servers.each do |server|
+ Gitlab::Auth::Ldap::Config.available_servers.each do |server|
# do not redeclare LDAP
next if server['provider_name'] == 'ldap'