diff options
author | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 11:22:59 +0400 |
---|---|---|
committer | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 11:31:06 +0400 |
commit | fc5bfd1dc1c963d018d4de61b03c5ba28aafcd18 (patch) | |
tree | df92598d01b0f93ebefed6f90abba24d2cd09983 /app/controllers/omniauth_callbacks_controller.rb | |
parent | 93505f7d04cfbbc9565dc5759dbeb768515520e7 (diff) |
Move dynamic omniauth declarations to initializer
Diffstat (limited to 'app/controllers/omniauth_callbacks_controller.rb')
-rw-r--r-- | app/controllers/omniauth_callbacks_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/omniauth_callbacks_controller.rb b/app/controllers/omniauth_callbacks_controller.rb index 0f364a48ea2..f46b36568f3 100644 --- a/app/controllers/omniauth_callbacks_controller.rb +++ b/app/controllers/omniauth_callbacks_controller.rb @@ -32,10 +32,6 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController end end - Gitlab.config.ldap.servers.each do |server| - alias_method server.provider_name, :ldap - end - def omniauth_error @provider = params[:provider] @error = params[:error] |