Download & Extend

Autogenerated password not salted

Project:Salt
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
salt.patch1.65 KB
user.patch513 bytes

Comments

#1

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', '');
}

}

#2

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

Thanks

#3

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.

#4

Status:fixed» closed (fixed)

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

nobody click here