]> source.dussan.org Git - redmine.git/commitdiff
patch #9104 Disable cleartext logging of passwords in log files
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 7 Mar 2007 17:59:41 +0000 (17:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 7 Mar 2007 17:59:41 +0000 (17:59 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@310 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/application.rb

index 2d2c318973592f7693f962147e216cc782f582c9..91cf074e66f31a971be03c551c6261553d5f0b62 100644 (file)
@@ -17,6 +17,7 @@
 \r
 class ApplicationController < ActionController::Base\r
   before_filter :check_if_login_required, :set_localization\r
+  filter_parameter_logging :password\r
   \r
   def logged_in_user=(user)\r
     @logged_in_user = user\r