When salt module is enabled, this error shows up on all hook_user (register, view, delete) events.
Users still gets created, but when looking in the database, the users password-salt is in clear text in the data array.
Using Drupal 6.4.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | salt.patch | 918 bytes | popthestack |
Comments
Comment #1
seul commentedI found that the patch at http://drupal.org/node/256915 helped prevent the error, I don't know if it solves the password-salt being in clear text
Comment #2
metaltoad commentedYou can replace the existing function with this one and it works beautifully:
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 #3
popthestack commentedRan into the same problem. See patch.
Comment #4
Zen commentedMarking as a dupe of #327220: Autogenerated password not salted. Please note that the "fix" for autogenerated passwords is to not include them in the welcome e-mail and just rely on the one time login link instead. Please see README.txt.
Comment #5
Zen commented