1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add common sensitive names to generated filter parameters

These added names are distilled from the filter_parameters config of a
number of open source Rails applications.
This commit is contained in:
Eliot Sykes 2018-11-20 08:10:00 +00:00
parent 3274d5a093
commit 62570a8016

View file

@ -1,4 +1,6 @@
# Be sure to restart your server when you modify this file. # Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file. # Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += [:password, :secret] Rails.application.config.filter_parameters += [
:password, :secret, :token, :_key, :auth, :crypt, :salt, :certificate, :otp, :access, :private, :protected, :ssn
]