mastodon/config/initializers/filter_parameter_logging.rb

11 lines
427 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2016-02-20 21:53:20 +00:00
# Be sure to restart your server when you modify this file.
2023-07-13 07:36:07 +00:00
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
# notations and behaviors.
Rails.application.config.filter_parameters += [
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
]