view config/initializers/filter_parameter_logging.rb @ 267:5326ed3fa7c3

Adjust api
author nanaya <me@nanaya.net>
date Thu, 17 Apr 2025 20:08:20 +0900
parents eda83610b65c
children
line wrap: on
line source

# 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.
Rails.application.config.filter_parameters += [
  :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
]