Migrating from a forum without email but want to require email


(Rohit S) #1

Hi all! I’m trying to migrate users from a forum that doesn’t require emails for sign up. But I want to start requiring users to input their email and verify it.

As far as the migration is concerned, I was going to use the GitHub - discoursehosting/discourse-migratepassword: Support migrated password hashes plugin to store the hashed password. Once they login, it verifies it against their hashed password and updates the password on discourse. All well and good.

Now for that I’ll have to create dummy users with their existing username and use a randomly generated email to create the account. I could ask them to update their email. But is there a better way to go about this? Just check the username and password and perhaps send them to the create user workflow?

Any help would be appreciated.