annotate config/initializers/filter_parameter_logging.rb @ 503:2392b86711a1

Remove standalone option I reverted the bundler require option during upgrade but the custom group isn't relevant anymore anyway.
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:15:49 +0900
parents 92929378413e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
495
92929378413e Update to latest rails
nanaya <me@nanaya.net>
parents: 481
diff changeset
3 # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
92929378413e Update to latest rails
nanaya <me@nanaya.net>
parents: 481
diff changeset
4 # Use this to limit dissemination of sensitive information.
92929378413e Update to latest rails
nanaya <me@nanaya.net>
parents: 481
diff changeset
5 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
481
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents: 431
diff changeset
6 Rails.application.config.filter_parameters += [
495
92929378413e Update to latest rails
nanaya <me@nanaya.net>
parents: 481
diff changeset
7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
481
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents: 431
diff changeset
8 ]