annotate config/initializers/filter_parameter_logging.rb @ 243:bc2f45058c9e legit-client

Prevent caching of rate limited error and combine response handling
author nanaya <me@nanaya.net>
date Sun, 16 Jul 2023 08:53:59 +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 ]