mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 10:35:35 +08:00
phpBB3 importer: Fix import of anonymous users
This commit is contained in:
parent
b79eef32e7
commit
14a0dff469
@ -51,7 +51,7 @@ module ImportScripts::PhpBB3
|
|||||||
|
|
||||||
{
|
{
|
||||||
id: username,
|
id: username,
|
||||||
email: "anonymous_no_email_#{SecureRandom.hex}",
|
email: "anonymous_#{SecureRandom.hex}@no-email.invalid",
|
||||||
username: username,
|
username: username,
|
||||||
name: @settings.username_as_name ? username : '',
|
name: @settings.username_as_name ? username : '',
|
||||||
created_at: Time.zone.at(row[:first_post_time]),
|
created_at: Time.zone.at(row[:first_post_time]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user