annotate config/initializers/filter_parameter_logging.rb @ 483:02d043b1967d

Accept file upload instead of binary gzip parameter
author nanaya <me@nanaya.pro>
date Sun, 28 Nov 2021 19:54:08 +0900
parents 88fd5722fcb3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Configure sensitive parameters which will be filtered from the log file.
481
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents: 431
diff changeset
4 Rails.application.config.filter_parameters += [
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents: 431
diff changeset
5 :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
88fd5722fcb3 Update defaults
nanaya <me@nanaya.pro>
parents: 431
diff changeset
6 ]