config: clean up filter_parameters initializer.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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]
|
||||
Reference in New Issue
Block a user