annotate config/initializers/filter_parameter_logging.rb @ 506:b5c6fd96100b
default tip
Readd the field error proc config
author |
nanaya <me@nanaya.net> |
date |
Mon, 16 Dec 2024 01:46:09 +0900 |
parents |
92929378413e |
children |
|
rev |
line source |
431
|
1 # Be sure to restart your server when you modify this file.
|
|
2
|
495
|
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.
|
481
|
6 Rails.application.config.filter_parameters += [
|
495
|
7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
|
481
|
8 ]
|