I am building an external site for some other purpose. I already have discourse for users discussion.
I want collect password hashes of all the discourse users.
So that I can import the same user;password to another external site database, that way users donot need to create another account on the website.
Can I please know How can I do that?
I installed this plugin, but looks like documentation of this is not complete.
Readme file says this
- Store your alternative password hashes in a custom field named
user = User.find_by(username: 'user') user.custom_fields['import_pass'] = '5f4dcc3b5aa765d61d8327deb882cf99' user.save
Can I please know, how and where I can run the above commands?