diff options
author | Jeff Dutil <jdutil21@gmail.com> | 2012-01-26 05:37:23 -0500 |
---|---|---|
committer | Jeff Dutil <jdutil21@gmail.com> | 2012-01-26 05:37:23 -0500 |
commit | 521fedc043270487897991352ce017aa5b163901 (patch) | |
tree | dfa71faaf4120a37a35a459ab3473ed8985c03a6 /railties/lib/rails | |
parent | d11347df7203cb5c82caad5c9949830980e3eb6a (diff) | |
download | rails-521fedc043270487897991352ce017aa5b163901.tar.gz rails-521fedc043270487897991352ce017aa5b163901.tar.bz2 rails-521fedc043270487897991352ce017aa5b163901.zip |
Add :password_confirmation as a filtered param by default.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index 3517956e4a..847a523558 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -43,7 +43,7 @@ module <%= app_const_base %> 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, |