Re: Changing a table's field
Argh. Remove the ) on line 28.
|
Re: Changing a table's field
PHP Code:
|
Re: Changing a table's field
I take it you replaced the hashed password with 'hidden' in the query? There's no need to do that, because it's not reversible. Anyway, after glancing at LoginOut.php of SMF 2.0.3 RC, the used hashing method of the password looks correct.
|
Re: Changing a table's field
Yeah I replaced it. Didn't know it was not able to be reversible.
Either way it's not working. I have no clue why and the error_logs don't have anything. |
Re: Changing a table's field
There are no errors logged since there are no errors. The script 'works', but it doesn't what you need it to do. The only thing we can conclude safely is that user 'levin' does not have the password that was provided after hashing it. It's probably best to continue your quest on the SMF forums, as there will be more people knowledgeable about how SMF works (I clearly have no idea).
Another thing you could consider, depending on your goal, is to add your code as a plugin. This way you won't have to check user credentials the hard way and can leave it up to SMF itself. It will then also not break after an update in which they've changed the hashing. |
Re: Changing a table's field
Alright, Thank you for your help :D
|
Re: Changing a table's field
No problem. Good luck :)
|
| All times are GMT -4. The time now is 00:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.