Skip to content

Commit

Permalink
Hide autosaved article drafts from server logs (fixes zammad#2363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lue committed Nov 21, 2018
1 parent 4ae5e65 commit a780745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/filter_parameter_logging.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Be sure to restart your server when you modify this file.

# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += %i[password bind_pw]
Rails.application.config.filter_parameters += %i[password bind_pw state.body state.article.body]

0 comments on commit a780745

Please sign in to comment.