Permalink
Browse files

Add :password_confirmation as a filtered param by default.

  • Loading branch information...
1 parent d11347d commit 521fedc043270487897991352ce017aa5b163901 @JDutil committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -43,7 +43,7 @@ class Application < Rails::Application
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
- config.filter_parameters += [:password]
+ config.filter_parameters += [:password, :password_confirmation]
# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,

0 comments on commit 521fedc

Please sign in to comment.