annotate config/initializers/filter_parameter_logging.rb @ 257:c6a50441a58d

It's now X
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:48:25 +0900
parents eda83610b65c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
254
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 214
diff changeset
3 # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 214
diff changeset
4 # Use this to limit dissemination of sensitive information.
89f6c0016bab Update to latest rails
nanaya <me@nanaya.net>
parents: 214
diff changeset
5 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
214
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 0
diff changeset
6 Rails.application.config.filter_parameters += [
255
eda83610b65c Update rails and stuff
nanaya <me@nanaya.net>
parents: 254
diff changeset
7 :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
214
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 0
diff changeset
8 ]