Mercurial > rsstweet
annotate config/initializers/filter_parameter_logging.rb @ 256:604b69827fb2
Add default public files
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:48:13 +0900 |
parents | eda83610b65c |
children |
rev | line source |
---|---|
0 | 1 # Be sure to restart your server when you modify this file. |
2 | |
254 | 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. | |
5 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. | |
214 | 6 Rails.application.config.filter_parameters += [ |
255 | 7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc |
214 | 8 ] |