Modif appel de la fonction User::Password

This commit is contained in:
Rodolphe Quiedeville 2005-02-04 11:08:54 +00:00
parent ad353f1537
commit 7dce2a45ab

View File

@ -148,7 +148,7 @@ if ($_GET["action"] == 'password' && $user->admin)
$edituser = new User($db, $_GET["id"]);
$edituser->fetch();
if ($edituser->password('',$conf->password_encrypted))
if ($edituser->password($user,'',$conf->password_encrypted))
{
$message = '<div class="ok">'.$langs->trans("PasswordChangedAndSentTo",$edituser->email).'</div>';
}