newrelic: fix tracking of api auth failure errors.

Fixes user params not being recorded on SessionLoader::AuthenticationFailed errors.
This commit is contained in:
evazion
2019-08-27 21:19:56 -05:00
parent 57e20b4e28
commit 0cf9f845d0
3 changed files with 12 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += [:password]
Rails.application.config.filter_parameters += [:password, :password_hash, :api_key]