Home » Authentication » LiveUser_Admin » Bug #4577
Passwords are not being encrypted when adding users
Details
| Submitted | 2005-06-13 00:44 UTC |
|---|---|
| From | danielr at electroteque dot org |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser_Admin |
| PHP Version | 5.0.3 |
| OS | N/A |
| Roadmaps | (Not assigned) |
Comments
[2005-06-13 00:44 UTC] danielr at electroteque dot org
Description:
------------
I had to get the latest CVS of LiveUser Admin to get
everything working. Anyway even having the option
passwordEncryptionMode set to MD5 its not encrypting the
passwords. I dont really think I need to send config
options , they are the same as the examples.
[2005-06-13 09:49 UTC] smith at backendmedia dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.
[2005-06-13 13:34 UTC] danielr at electroteque dot org
Hi dude, you forgot to return encrypt method back to the
passwd key , this is latest CVS today :)
function addUser($data)
{
if (array_key_exists('passwd', $data)) {
$data['passwd'] = $this-
>encryptPW($data['passwd']);
}
$result = $this->_storage->insert('users',
$data);
// notify observer
return $result;
}