forked from Wavyzz/dolibarr
Ajout DOL_URL_ROOT dans l'url envoye avec le mot de pass
This commit is contained in:
@@ -629,7 +629,7 @@ class User
|
||||
if ($this->db->affected_rows())
|
||||
{
|
||||
$mesg = "Login : $this->login\nMot de passe : $password\n";
|
||||
$mesg .= "URL : http://". $GLOBALS["HTTP_HOST"];
|
||||
$mesg .= "URL : http://". $GLOBALS["HTTP_HOST"] . "/" . DOL_URL_ROOT;
|
||||
if (mail($this->email, "Mot de passe Dolibarr", $mesg))
|
||||
{
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user