Update user.class.php

This commit is contained in:
Laurent Destailleur 2023-02-19 02:41:53 +01:00 committed by GitHub
parent 50721f8df3
commit 35d496de38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2359,7 +2359,7 @@ class User extends CommonObject
/**
* Send new password by email
*
* @param User $user Object user that send the email (not the user we send too) @todo object $user is not used !
* @param User $user Object user that send the email (not the user we send to) @todo object $user is not used !
* @param string $password New password
* @param int $changelater 0=Send clear passwod into email, 1=Change password only after clicking on confirm email. @todo Add method 2 = Send link to reset password
* @return int < 0 si erreur, > 0 si ok