[deploy] Bug Fix:Hide To Email Field and Content Field on Ahoy Messages (#9634)
This commit is contained in:
parent
c2d23cfc4d
commit
8f50c2246e
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue