Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Can't Login anymore - crypt_private returning 34 characters
I don't know how or why this happened, but with vanilla 1.1.7 I can no longer login. I traced the problem to People.Class.PasswordHash.php and the function cript_private() which appeared to return a 34 character hashed password whereas the mysql database holds a 32 character one.
I've temporarily fixed this issue by changing the return of this function to:
return substr($output,0,32);
I've temporarily fixed this issue by changing the return of this function to:
return substr($output,0,32);
0
Comments