mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 23:58:26 +08:00
Use an invalid domain for fake email addresses in importers
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user