PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser_Admin » Bug #4577

Passwords are not being encrypted when adding users

Details

Submitted2005-06-13 00:44 UTC
Fromdanielr at electroteque dot org
Assignedlsmith
StatusClosed
PackageLiveUser_Admin
PHP Version5.0.3
OSN/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;
}