30.06.2011, 12:47
I had just edited it, I didn't notice it first but you are comparing a hashed version of the hashed password ( a hashed-hash
) to the old password, change
to
) to the old password, changeКод:
if( udb_hash( tmp ) == udb_hash( oldpass ) )
Код:
if( tmp == udb_hash( oldpass ) )



