config: clean up filter_parameters initializer.

This commit is contained in:
evazion
2019-12-13 03:05:46 -06:00
parent a4e587aa6a
commit ea15b525f8
2 changed files with 1 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ module Danbooru
config.load_defaults 5.2
config.active_record.schema_format = :sql
config.encoding = "utf-8"
config.filter_parameters += [:password]
config.filter_parameters += [:password, :password_hash, :api_key]
#config.assets.enabled = true
#config.assets.version = '1.0'
config.autoload_paths += %W(#{config.root}/app/presenters #{config.root}/app/logical #{config.root}/app/mailers)

View File

@@ -1,4 +0,0 @@
# 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, :password_hash, :api_key]