From 8cbb78bb1dd2926f1168573d3ec0c86ea459f8f0 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Wed, 7 Mar 2007 17:59:41 +0000
Subject: [PATCH] patch #9104 Disable cleartext logging of passwords in log
 files

git-svn-id: http://redmine.rubyforge.org/svn/trunk@310 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 app/controllers/application.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/controllers/application.rb b/app/controllers/application.rb
index 2d2c31897..91cf074e6 100644
--- a/app/controllers/application.rb
+++ b/app/controllers/application.rb
@@ -17,6 +17,7 @@
 
 class ApplicationController < ActionController::Base
   before_filter :check_if_login_required, :set_localization
+  filter_parameter_logging :password
   
   def logged_in_user=(user)
     @logged_in_user = user
-- 
GitLab