mastodon/config/initializers/filter_parameter_logging.rb

7 lines
266 B
Ruby

# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += [:password, :private_key, :public_key, :otp_attempt]