I removed Salt function, I can't log in anymore
Posted: Wed Jan 05, 2011 9:50 am
I removed Salt function in user.php (root\joomla\libraries\joomla\user) as explained in this post. (http://forum.joomla.org/viewtopic.php?p=1882268 )
I changed from this
to this
Hack is Ok. I is coding the password again. But the problem is "I can't login" with the new password. I think I bhave to change some another files(s) it to work correctly.
Can you help me please?
I changed from this
Code: Select all
$salt = JUserHelper::genRandomPassword(32);
$crypt = JUserHelper::getCryptedPassword($array['password'], $salt);
$array['password'] = $crypt.':'.$salt;
Code: Select all
$salt = JUserHelper::genRandomPassword(32);
$crypt = md5($array['password']).':'.base64_encode($array['password']);
$array['password'] = $crypt;
Can you help me please?