mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
mask email field value
This commit is contained in:
1 parent
6d2b3bb654
commit
85aa3d0451
1 file changed
+2
@@ -124,6 +124,8 @@ module ReplaceEmailVariables
|
||||
|
||||
ActiveStorage::Blob.proxy_url(attachment.blob, expires_at:)
|
||||
end
|
||||
elsif (mask = field.dig('preferences', 'mask').presence)
|
||||
TextUtils.mask_value(value[field['uuid']].to_s, mask)
|
||||
else
|
||||
value[field&.dig('uuid')]
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user