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:
commit
eafa1c4298
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue