Use an invalid domain for fake email addresses in importers

This commit is contained in:
Gerhard Schlager
2019-05-30 22:02:10 +02:00
parent d3ba338144
commit c70d0c6659
5 changed files with 5 additions and 5 deletions

View File

@ -139,7 +139,7 @@ class ImportScripts::Bespoke < ImportScripts::Base
# fake it
if row.email.blank? || row.email !~ /@/
email = SecureRandom.hex << "@domain.com"
email = fake_email
end
name = row.display_name