From 14a0dff469daa082ba7270ce60bc6aa0f2e980c3 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Sun, 5 Feb 2017 15:26:50 +0100 Subject: [PATCH] phpBB3 importer: Fix import of anonymous users --- script/import_scripts/phpbb3/importers/user_importer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/phpbb3/importers/user_importer.rb b/script/import_scripts/phpbb3/importers/user_importer.rb index 2d98854df10..f7414bb1f0f 100644 --- a/script/import_scripts/phpbb3/importers/user_importer.rb +++ b/script/import_scripts/phpbb3/importers/user_importer.rb @@ -51,7 +51,7 @@ module ImportScripts::PhpBB3 { id: username, - email: "anonymous_no_email_#{SecureRandom.hex}", + email: "anonymous_#{SecureRandom.hex}@no-email.invalid", username: username, name: @settings.username_as_name ? username : '', created_at: Time.zone.at(row[:first_post_time]),