Permalink
Browse files

Merge pull request #121 from alphagov/dont-log-ticket-details

Filter potentially sensitive form fields
  • Loading branch information...
alext committed Jan 7, 2014
2 parents 2964547 + f073391 commit fc8d78b16b640fb6840543d166426e44aa720a02
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/application.rb
View
@@ -46,7 +46,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, :name, :email, :details, :what_doing, :what_wrong]
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true

0 comments on commit fc8d78b

Please sign in to comment.