![]() |
MyBB password encryption - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Resources (https://community.mybb.com/forum-8.html) +--- Forum: Third Party Integration (https://community.mybb.com/forum-132.html) +--- Thread: MyBB password encryption (/thread-145590.html) |
MyBB password encryption - XAOS-Eric - 2013-09-16 Hi, I'm integrating mybb with whmcs so when a user registers, they are also registered in mybb instead of just whmcs. How does mybb encrypt passwords as I would need to make a plugin for whmcs that takes a field called username, the email form, and the password form and insert them into the mybb database. RE: MyBB password encryption - Shade - 2013-09-16 http://crossreference.mybboard.de/inc/datahandlers/user.php.source.html#l161 You might build an array of data, including the username, the email and the password, and let the validator do all the hard work for you.
----- EDIT ------ Also, MyBB stores password without encryption, passwords are hashed using the md5 digest algorithm. The formula looks like this:
RE: MyBB password encryption - XAOS-Eric - 2013-09-16 Thank you for the suggestion, I'll keep that in mind. I don't know how whmcs encrypts passwords though, id like to do it so when a user changes their password in whmcs, it updates in the mybb database as well. Unless, I use mybb to store the billing profiles, and have whmcs use the mybb login table. Once I get a plugin working that works with whmcs, I'll release it so others looking to do the same will be able to. Edit: Would it be easier to handle registration on the mybb side, and use WHMCS API to insert the data? http://docs.whmcs.com/API:Add_Client |