Ajout DOL_URL_ROOT dans l'url envoye avec le mot de pass
This commit is contained in:
parent
99a90aa4f0
commit
6ca81d8892
@ -629,7 +629,7 @@ class User
|
|||||||
if ($this->db->affected_rows())
|
if ($this->db->affected_rows())
|
||||||
{
|
{
|
||||||
$mesg = "Login : $this->login\nMot de passe : $password\n";
|
$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))
|
if (mail($this->email, "Mot de passe Dolibarr", $mesg))
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user