1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #4690 from jdutil/filter_password_confirmation

Add :password_confirmation as a filtered param by default.
This commit is contained in:
José Valim 2012-01-26 02:56:29 -08:00
commit eafa1c4298

View file

@ -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,