lib/generators/airbrake_initializer.rb.erb in airbrake-5.7.1 vs lib/generators/airbrake_initializer.rb.erb in airbrake-5.8.0.rc.1
- old
+ new
@@ -51,10 +51,10 @@
# A list of parameters that should be filtered out of what is sent to
# Airbrake. By default, all "password" attributes will have their contents
# replaced.
# https://github.com/airbrake/airbrake-ruby#blacklist_keys
- c.blacklist_keys = [/password/i]
+ c.blacklist_keys = [/password/i, /authorization/i]
# Alternatively, you can integrate with Rails' filter_parameters.
# Read more: https://goo.gl/gqQ1xS
# c.blacklist_keys = Rails.application.config.filter_parameters
end