OK so you just need to fetch the hashed password from SMF's database (smf_members) for the username requested.
Then hash the user+password that the user entered like SMF does --> sha1(strtolower($_POST['username']) . $_POST['password']) and compare it ...
Re: Using User Account Data in SMF on external system
Then hash the user+password that the user entered like SMF does --> sha1(strtolower($_POST['username']) . $_POST['password']) and compare it ...
Re: Using User Account Data in SMF on external system
0 commentaires:
Enregistrer un commentaire