[deploy] Bug Fix:Hide To Email Field and Content Field on Ahoy Messages (#9634)

This commit is contained in:
Molly Struve 2020-08-05 12:02:28 -05:00 committed by GitHub
parent c2d23cfc4d
commit 8f50c2246e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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
]

View file

@ -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