diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 00:29:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 00:29:25 +0300 |
commit | 42a3f91387d2e1e8914b76817a8be34f67d9b84c (patch) | |
tree | 443217bc7643f4c32b4daf76ebc86ce46fb36807 /config | |
parent | f4fbe9d60f1591a4900c9df5434bc41f86afb36b (diff) |
Add latest changes from gitlab-org/security/gitlab@13-12-stable-ee
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/omniauth.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 85984772d05..478a5828809 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -19,6 +19,4 @@ OmniAuth.config.before_request_phase do |env| Gitlab::RequestForgeryProtection.call(env) end -# Use json formatter -OmniAuth.config.logger.formatter = Gitlab::OmniauthLogging::JSONFormatter.new -OmniAuth.config.logger.level = Logger::ERROR if Rails.env.production? +OmniAuth.config.logger = Gitlab::AppLogger |