MyBB Community Forums

Full Version: Where is the password hashed in member.php?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know that in member.php, the password is passed to the validate_password_from_username function, and it is already md5 hashed. I'm confused because I don't know where $mybb->input['password'] is ever md5 hashed.

I'd appreciate any help you guys have, MyBB is great! Smile


Clint
The phpdocs is actually wrong. The password is passed in plain text for validate_password_from_username and validate_password_from_uid. It is md5'ed within the latter function when salt_password (which is the function which requires the password in md5) is called.
Thanks so much! My code edit is working now! I might just publish it, hehe. It won't be useful for anyone but punbb users, though.


Clint