annotate config/initializers/filter_parameter_logging.rb @ 252:151bc6d97d39

Include pinned tweet
author nanaya <me@nanaya.net>
date Tue, 17 Oct 2023 00:04:11 +0900
parents 2335107f35d0
children 89f6c0016bab
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
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 # Configure sensitive parameters which will be filtered from the log file.
214
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 0
diff changeset
4 Rails.application.config.filter_parameters += [
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 0
diff changeset
5 :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
2335107f35d0 Run rails update
nanaya <me@nanaya.pro>
parents: 0
diff changeset
6 ]