filter_parameter_logging.rb 304 Bytes
Newer Older
1 2
# frozen_string_literal: true

Jonne Haß's avatar
Jonne Haß committed
3 4 5
# Be sure to restart your server when you modify this file.

# Configure sensitive parameters which will be filtered from the log file.
Benjamin Neff's avatar
Benjamin Neff committed
6
Rails.application.config.filter_parameters += %i[password message text bio]
lislis's avatar
lislis committed
7
Rails.application.config.filter_parameters += [:otp_attempt]