Update description for filter_parameter_logging (#49347)
* Update description for filter_parameter_logging * Update railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt Thanks Rob!!. I did all this in the github ui and was a little out of sorts with the wrapping. Co-authored-by: Rob Zolkos <rob@zolkos.com> --------- Co-authored-by: Rob Zolkos <rob@zolkos.com> Co-authored-by: Rafael Mendonça França <rafael@rubyonrails.org>
This commit is contained in:
parent
92742751a9
commit
c32813ddc6
6
railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt
6
railties/lib/rails/generators/rails/app/templates/config/initializers/filter_parameter_logging.rb.tt
@ -1,8 +1,8 @@
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
|
||||
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
|
||||
# notations and behaviors.
|
||||
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
|
||||
# Use this to limit dissemination of sensitive information.
|
||||
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
|
||||
Rails.application.config.filter_parameters += [
|
||||
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user