annotate config/initializers/filter_parameter_logging.rb @ 223:ad6264cca788

Update to rails 7
author nanaya <me@nanaya.pro>
date Sat, 15 Jan 2022 02:39:53 +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 ]