annotate config/initializers/filter_parameter_logging.rb @ 229:12287b32fbda

Show link to parent tweet for replies
author nanaya <me@nanaya.pro>
date Wed, 13 Apr 2022 01:49:51 +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 ]