@pyc4 said:
I was thinking it is possible to generate hash from given password that is exactly the same as the hash written to database.
Only if you use the same salt, but you don't have the salt, so therein lies the problem ๐
After several years of using NodeBB my community has grown to the point where we need to migrate to a proprietary system (also due to company policy).
As part of the migration process i need to bring users (6000+) and their passwords into the new database.
I understand that passwords are stored as hashes in the nodebb mongodb database; is there a way of extracting them to the new database so that all my users donโt have to reset their passwords?
Iโve no interest in finding out my users passwords per se, i just want to make the transition as seamless as possible for them.
Thanks.
Your best option is to have them sign in to NodeBB then forward them to a password reset form on your new site.
Your only other option is to use the exact same hashing algorithm and copy the salt from your NodeBB.
@normando they're migrating away from NodeBB
@pitaj said in User password export:
Your only other option is to use the exact same hashing algorithm and copy the salt from your NodeBB.
Yes. That was my first thought. More work admin side but also more seamless end luser side. Looks like a task begging for automation, no?