XF 1.5 Help needed with integration of xenForo with another php module

Hi,

I have somebody trying to help me with integration and they are stuck on the below issue. I'm using v1.5 and your help is greatly appreciated!
---------------------------------------------------------------------------------------------------------------------------------------------------------------

We are trying to integrate xenforo with another php module, for that we want user to login using same username and password.
We are running the sql codes to fetch user id from 'xf_user' table and hashed password which is saved in BLOB format from 'xf_user_authenticate' table.

Now the thing is we need to compare the user entered password with the hashed password and process login accordingly.
For this we copied library file passwordhasher.php and included in our script.

But the problem we are facing now is that the newly hashed password and saved hashed password are not same.

The first part of the newly hashed password is the same as the saved hash i.e the part before dot (.) but not the second part, i. e. after dot (.)

Can you please help out in this

Thanks
 
Top Bottom