pinrails/config/initializers/filter_parameter_logging.rb

7 lines
260 B
Ruby
Raw Normal View History

2021-08-21 23:30:19 +00:00
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.
2021-08-23 20:29:19 +00:00
Rails.application.config.filter_parameters += [
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
]