Modif appel de la fonction User::Password
This commit is contained in:
parent
ad353f1537
commit
7dce2a45ab
@ -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>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user