We had to patch the salt module to make it work correctly with Drupal 6.5.
Also, a small patch to the user.module is necessary to make auto generated password get salted. I've attached both patches.

CommentFileSizeAuthor
user.patch513 bytesblackdog
salt.patch1.65 KBblackdog

Comments

metaltoad’s picture

Here's a replacement/simplification for the existing salt_login_validate function that works well:

function salt_login_validate($form, &$form_state) {

if (!empty($form_state['values']['pass'])) {
$form_state['values']['pass'] = $form_state['values']['pass'] . variable_get('salt', '');
}

}

shiolo’s picture

Is this fixed? Beacuse I'm having problems as you can see in http://drupal.org/node/960190

Thanks

Zen’s picture

Title: Small updates to make Salt module work » Autogenerated password not salted
Version: 6.x-1.1-beta » 6.x-1.x-dev
Status: Needs review » Fixed

I've applied other changes to the module which should have fixed this. As for the auto-generated password not being salted, I recommend that the password be removed from the welcome e-mail template. Users can use the one-time login link to log in and get a salted password instead.

Please reopen if this issue has not been fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.