Mercurial > rsstweet
comparison config/initializers/filter_parameter_logging.rb @ 255:eda83610b65c
Update rails and stuff
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:45:33 +0900 |
parents | 89f6c0016bab |
children |
comparison
equal
deleted
inserted
replaced
254:89f6c0016bab | 255:eda83610b65c |
---|---|
2 | 2 |
3 # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file. | 3 # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file. |
4 # Use this to limit dissemination of sensitive information. | 4 # Use this to limit dissemination of sensitive information. |
5 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. | 5 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. |
6 Rails.application.config.filter_parameters += [ | 6 Rails.application.config.filter_parameters += [ |
7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn | 7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc |
8 ] | 8 ] |