mastodon/config/initializers/filter_parameter_logging.rb

11 lines
487 B
Ruby
Raw Permalink Normal View History

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