Restore developer initializer to default

pull/4169/head
Oliver Günther 9 years ago
parent 9740a86578
commit bd761b7974
  1. 5
      config/initializers/omniauth.rb

@ -28,9 +28,6 @@
Rails.application.config.middleware.use OmniAuth::Builder do
unless Rails.env.production?
relative_root = OpenProject::Configuration.rails_relative_url_root
provider :developer,
callback_path: "#{relative_root}/auth/developer/callback",
fields: [:first_name, :last_name, :email]
provider :developer, fields: [:first_name, :last_name, :email]
end
end

Loading…
Cancel
Save