docbrown/config/initializers/hypershield.rb

20 lines
351 B
Ruby

if Rails.env.production?
Hypershield.schemas = {
hypershield: {
hide: %w[
auth_data_dump
email
encrypted
encrypted_password
message
message_html
message_markdown
password
previous_refresh_token
refresh_token
secret
token
]
}
}
end