annotate config/initializers/filter_parameter_logging.rb @ 493:30cf29ac9294

public-path confuses sprockets
author nanaya <me@nanaya.net>
date Tue, 17 Jan 2023 02:52:30 +0900
parents 88fd5722fcb3
children 92929378413e
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 ]