mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
add fix email log
This commit is contained in:
1 parent
2640934c15
commit
48de343948
1 file changed
+5
-1
+5
-1
@@ -108,6 +108,10 @@ module Submissions
|
||||
return email.downcase if email.to_s.include?('.gob')
|
||||
return email.downcase if email.to_s.include?('.om')
|
||||
|
||||
EmailTypo.call(email.delete_prefix('<'))
|
||||
fixed_email = EmailTypo.call(email.delete_prefix('<'))
|
||||
|
||||
Rollbar.warning("Fixed email #{email}") if fixed_email != email.downcase.delete_prefix('<') && defined?(Rollbar)
|
||||
|
||||
fixed_email
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user