Ticket #11578: 0001-Patch-adds-commented-filter_parameter_logging-pass.patch
| File 0001-Patch-adds-commented-filter_parameter_logging-pass.patch, 1.2 kB (added by yaroslav, 2 months ago) |
|---|
-
a/railties/helpers/application.rb
old new 7 7 # See ActionController::RequestForgeryProtection for details 8 8 # Uncomment the :secret if you're not using the cookie session store 9 9 protect_from_forgery # :secret => '<%= app_secret %>' 10 11 # See ActionController::Base for details 12 # Uncomment this to filter the contents of submitted sensitive data parameters from your application log (in this case, all fields with names like "password"). 13 # filter_parameter_logging :password 10 14 end