Browse Source

Add `reset_password_token` to sensitive parameters list (#1556)

pull/1559/head
James Rose 2 years ago committed by GitHub
parent
commit
53f024899b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/initializers/filter_parameter_logging.rb

2
config/initializers/filter_parameter_logging.rb

@ -2,5 +2,5 @@
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += %i[
passw secret token crypt salt certificate otp ssn
passw secret token crypt salt certificate otp ssn reset_password_token
]

Loading…
Cancel
Save