Viewing 1 post (of 1 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #192866

    Please note this involves hacking of Joomla Core files (not a recommended method).

    If you have installed or updated to Joomla 3.2, you may have discovered that user’s registration, forget password …are broken in this release. The solution below should help you to fix this problem for now.

    We do not recommend hacking of Joomla core files, use the below suggestions on your own risk

    Edit /libraries/joomla/user/helper.php:

    1. Change

    $encrypted = ($salt) ? md5($plaintext . $salt) : md5($plaintext);

    to

    $encrypted = ($salt) ? md5($plaintext . $salt) . ':' . $salt : md5($plaintext);

    Edit /libraries/joomla/user/user.php:

    2. Change

    $array['password'] = $crypt . ':' . $salt;

    to

    $array['password'] = $crypt;

    Edit /components/com_users/models/reset.php:

    3. Change

    $password = $crypted . ':' . $salt;

    to

    $password = $crypted;

    4. Change

    if (!($crypt == $testcrypt))

    to

    if (!($user->activation == $testcrypt))

    5. Change

    $testcrypt = JUserHelper::getCryptedPassword($data['token'], $salt);

    to

    $testcrypt = JUserHelper::getCryptedPassword($data['token'], $salt, 'md5-hex');

    Edit /plugins/authentication/joomla/joomla.php:

    6. Change

    if ($crypt == $testcrypt)

    to

    if ($result->password == $testcrypt)

    Reset your password if it still doesn’t work after these changes.

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  Ninja Lead 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum