forked from External/greenlight
Set omniauth to use the rails logger (#738)
This commit is contained in:
parent
7e3c44575e
commit
f87c2bfd16
|
@ -19,6 +19,8 @@ SETUP_PROC = lambda do |env|
|
|||
SessionsController.helpers.omniauth_options env
|
||||
end
|
||||
|
||||
OmniAuth.config.logger = Rails.logger
|
||||
|
||||
# Setup the Omniauth middleware.
|
||||
Rails.application.config.middleware.use OmniAuth::Builder do
|
||||
if Rails.configuration.omniauth_bn_launcher
|
||||
|
|
Loading…
Reference in New Issue