filter_parameter_logging.rb « initializers « config - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
# 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 += %i[password message text bio]
Rails.application.config.filter_parameters += [:otp_attempt]