From 8f50c2246ee38cee3fb2003c997cc42015cddc7f Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Wed, 5 Aug 2020 12:02:28 -0500 Subject: [PATCH] [deploy] Bug Fix:Hide To Email Field and Content Field on Ahoy Messages (#9634) --- config/environments/production.rb | 4 ++-- config/initializers/hypershield.rb | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 341709cd0..7e00c60c2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -87,10 +87,10 @@ Rails.application.configure do # Filter sensitive information from production logs config.filter_parameters += %i[ - auth_data_dump email encrypted + auth_data_dump content email encrypted encrypted_password message_html message_markdown password previous_refresh_token refresh_token secret - token current_sign_in_ip last_sign_in_ip + to token current_sign_in_ip last_sign_in_ip reset_password_token remember_token unconfirmed_email ] diff --git a/config/initializers/hypershield.rb b/config/initializers/hypershield.rb index 0adc9ad7c..3891532e9 100644 --- a/config/initializers/hypershield.rb +++ b/config/initializers/hypershield.rb @@ -16,6 +16,7 @@ if Rails.env.production? # matches table.column hide: %w[ auth_data_dump + content email encrypted encrypted_password @@ -25,6 +26,7 @@ if Rails.env.production? previous_refresh_token refresh_token secret + to token current_sign_in_ip last_sign_in_ip