Set omniauth to use the rails logger (#738)

This commit is contained in:
shawn-higgins1 2019-08-14 10:22:26 -04:00 committed by Jesus Federico
parent 7e3c44575e
commit f87c2bfd16
1 changed files with 2 additions and 0 deletions

View File

@ -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