Closed (fixed)
Project:
Salt
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 16:59 UTC
Updated:
12 Dec 2010 at 17:30 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| user.patch | 513 bytes | blackdog | |
| salt.patch | 1.65 KB | blackdog |
Comments
Comment #1
metaltoad commentedHere'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', '');
}
}
Comment #2
shiolo commentedIs this fixed? Beacuse I'm having problems as you can see in http://drupal.org/node/960190
Thanks
Comment #3
Zen commentedI'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.