Mercurial > zeropaste
comparison config/initializers/filter_parameter_logging.rb @ 481:88fd5722fcb3
Update defaults
author | nanaya <me@nanaya.pro> |
---|---|
date | Sun, 28 Nov 2021 19:45:05 +0900 |
parents | 68eb23b52864 |
children |
comparison
equal
deleted
inserted
replaced
480:2672acc670d2 | 481:88fd5722fcb3 |
---|---|
1 # Be sure to restart your server when you modify this file. | 1 # Be sure to restart your server when you modify this file. |
2 | 2 |
3 # Configure sensitive parameters which will be filtered from the log file. | 3 # Configure sensitive parameters which will be filtered from the log file. |
4 Rails.application.config.filter_parameters += [:password] | 4 Rails.application.config.filter_parameters += [ |
5 :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn | |
6 ] |