Browse Source

Improved logging - do not log article.body and body.

Martin Edenhofer 5 years ago
parent
commit
5e522f4276
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/initializers/filter_parameter_logging.rb

+ 1 - 1
config/initializers/filter_parameter_logging.rb

@@ -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 state.body state.article.body article.attachments.data attachments.data]
+Rails.application.config.filter_parameters += %i[password bind_pw state.body state.article.body article.body article.attachments.data attachments.data body]