Skip to content

Commit 6d4ecc1

Browse files
committed
app:update config/initializers/filter_parameter_logging.rb
1 parent c399269 commit 6d4ecc1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Be sure to restart your server when you modify this file.
22

3-
# Configure sensitive parameters which will be filtered from the log file.
4-
Rails.application.config.filter_parameters += [:password]
3+
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
4+
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
5+
# notations and behaviors.
6+
Rails.application.config.filter_parameters += [
7+
:password, :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
8+
]

0 commit comments

Comments
 (0)