Mercurial > zeropaste
diff config/initializers/filter_parameter_logging.rb @ 495:92929378413e
Update to latest rails
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:18:06 +0900 |
parents | 88fd5722fcb3 |
children |
line wrap: on
line diff
--- a/config/initializers/filter_parameter_logging.rb Sun Oct 29 23:24:13 2023 +0900 +++ b/config/initializers/filter_parameter_logging.rb Sun Dec 15 22:18:06 2024 +0900 @@ -1,6 +1,8 @@ # Be sure to restart your server when you modify this file. -# Configure sensitive parameters which will be filtered from the log file. +# 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 + :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc ]