Permalink
Browse files

Filter passwords from the logs.

  • Loading branch information...
1 parent 820044c commit db09dcf546de08bcc6bca3efbc9af1bfcff8534a @seancribbs seancribbs committed Jul 16, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/controllers/application.rb
@@ -7,4 +7,5 @@ class ApplicationController < ActionController::Base
# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
protect_from_forgery # :secret => '7dc131c7c77df07eccc1de4d3978ef5f'
+ filter_parameter_logging :password, :password_confirmation
end

0 comments on commit db09dcf

Please sign in to comment.