Commit 838d3b4372f358421d6a25ae6e74186e6be60f2a

Authored by Moises Machado
Committed by Antonio Terceiro
1 parent e08bac9f

ActionItem1049: fitered passwords from logs

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/controllers/application.rb
... ... @@ -2,6 +2,8 @@
2 2 # available in all controllers.
3 3 class ApplicationController < ActionController::Base
4 4  
  5 + filter_parameter_logging :password
  6 +
5 7 def log_processing
6 8 super
7 9 return unless ENV['RAILS_ENV'] == 'production'
... ...