Page 1 of 1

I removed Salt function, I can't log in anymore

Posted: Wed Jan 05, 2011 9:50 am
by kaanay
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

Code: Select all

$salt  = JUserHelper::genRandomPassword(32);
$crypt = JUserHelper::getCryptedPassword($array['password'], $salt);
$array['password'] = $crypt.':'.$salt;
to this

Code: Select all

$salt  = JUserHelper::genRandomPassword(32);
$crypt = md5($array['password']).':'.base64_encode($array['password']);
$array['password'] = $crypt;
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?

Re: I removed Salt function, I can't log in anymore

Posted: Fri Jan 07, 2011 10:07 am
by ooffick
Did you change all of the information in that file.

Olaf