Filter sensitive data from logs

This commit is contained in:
Robert Richter 2015-04-19 14:07:18 -05:00
parent a7eb5c62bc
commit e3f78701c8

View File

@ -7,6 +7,7 @@ require 'rails/all'
Bundler.require(*Rails.groups)
module PlanCharacters
# Default application environment configurations
class Application < Rails::Application
# Settings in config/environments/* take precedence over those
# specified here.
@ -25,5 +26,9 @@ module PlanCharacters
# config.i18n.load_path += Dir[Rails.root.join(
# 'my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
# Filter sensitive parameters out of logs
config.filter_paramters << :password
config.filter_paramters << :password_confirmation
end
end