From 2977949f4bf9d1cb079e9ac7e95d4e0963093ac1 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Mon, 24 Jan 2011 13:06:34 +0000 Subject: Scrub passwords from logs. --- app/controllers/application_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8af2af528..5420499f6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -12,6 +12,8 @@ class ApplicationController < ActionController::Base # Standard headers, footers and navigation for whole site layout "default" + # scrub sensitive parameters from the logs + filter_parameter_logging :password # Help work out which request causes RAM spike. # http://www.codeweblog.com/rails-to-monitor-the-process-of-memory-leaks-skills/ -- cgit v1.2.3