mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix tld autocorrection
This commit is contained in:
1 parent
17fc6e2f1c
commit
3b9d35acf1
1 file changed
+1
@@ -110,6 +110,7 @@ module Submissions
|
||||
return email.downcase if email.to_s.include?('.om')
|
||||
return email.downcase if email.to_s.include?('.mm')
|
||||
return email.downcase if email.to_s.include?('.cm')
|
||||
return email.downcase if email.to_s.include?('.et')
|
||||
return email.downcase unless email.to_s.include?('.')
|
||||
|
||||
fixed_email = EmailTypo.call(email.delete_prefix('<'))
|
||||
|
||||
Reference in new issue
Block a user