The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
what hash does vBulletin's use for passwords?
Hello,
I'm trying to integrate a php script with vBulletin's user. I tried to use this algorithem: md5(md5($_POST['password']).$row['salt']) to convert the password that is entered by the member to match the password that is stored in vBulletin.user table but that algorithem gave defferent hash from the one stored in the DB. does any one guys know how to integrate the login process with a nonvBulletin script? |
#2
|
||||
|
||||
The above is correct.
md5(md5('actualPassword') . $salt); Did you query for the salt value? It's stored in the user table as well. |
#3
|
|||
|
|||
yes, that is what I did.
I wrote a query to get the stored password & salt for the entered username then I compared the the stored password with the value of md5(md5($_POST['password']).$row['salt']) but they did not match. |
#4
|
||||
|
||||
I suggest you post all your code (not just the one line).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|