Has anyone imported Drupal 7 passwords into Discourse? This is one area where I’m stuck on my migration.
I found this plugin and this info, but am not sure how to modify it for Drupal 7.
If I don’t migrate the passwords (leaving the password_hash
and salt
fields as nil
), will users still be able to request new passwords? I’m a little worried about that in either case, because there are 20,000 users, and they will start getting summary emails from Discourse, which might send a lot of people to the site at once. If there is a bug with passwords or resetting them, things might get chaotic.
Temporary email address were saved during the last test import – something like tmpemail111@example.com
. I don’t know why the first part of that email address was used for the name
field and why the email
field is blank. The email address does appear on the site itself for this user.
Is enough data included here in this sample user to have the new site run correctly in production?
=> [#<User:0x0000000723ab23
id: 197,
username: "SomeUser",
created_at: Sat, 30 Apr 2012 13:17:11 UTC +00:00,
updated_at: Mon, 01 Oct 2017 10:19:37 UTC +00:00,
name: "Tmpemail111",
seen_notification_id: 0,
last_posted_at: nil,
email: nil,
password_hash: nil,
salt: nil,
active: true,
username_lower: "someuser",
last_seen_at: Sat, 30 Apr 2012 13:17:11 UTC +00:00,
admin: false,
last_emailed_at: Mon, 02 Oct 2017 23:19:33 UTC +00:00,
trust_level: 1,
approved: false,
approved_by_id: nil,
approved_at: nil,
previous_visit_at: nil,
suspended_at: nil,
suspended_till: nil,
date_of_birth: nil,
views: 0,
flag_level: 0,
ip_address: nil,
moderator: false,
blocked: false,
title: nil,
uploaded_avatar_id: nil,
locale: nil,
suspended_at: nil,
suspended_till: nil,
date_of_birth: nil,
views: 0,
flag_level: 0,
ip_address: nil,
moderator: false,
blocked: false,
title: nil,
uploaded_avatar_id: nil,
locale: nil,
primary_group_id: nil,
registration_ip_address: nil,
trust_level_locked: false,
staged: false,
first_seen_at: nil>]