Author Topic: New User Password Bug...  (Read 1890 times)

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
New User Password Bug...
« on: December 09, 2009, 02:29:44 pm »
I just clicked the 'Add User' button as usual, filled out the username and email, and checked the button, "generate random password'.

No matter what I do, I get the following error dialog on Save (even if I manually create a totally random password)...

Error:

Failed to save object because some of its properties are not valid:
- Password was used on one of last ten passwords
- Password must differ in at least 3 characters with last 10 passwords

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: New User Password Bug...
« Reply #1 on: December 09, 2009, 04:26:02 pm »
Hi Thomas,

To fix it delete lines 697-699 of file 'application/functions.php':

Code: [Select]
$user->save();
$user_password->setUserId($user->getId());
$user_password->save();

This will be corrected for next release.

Thanks.