From 939006c52e4b1dbdf0fc37def57bc3ce27efcf3a Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 8 Feb 2004 13:03:18 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20mineure=20dans=20le=20mail=20lors=20du?= =?UTF-8?q?=20changement=20de=20mot=20de=20passe=20pour=20g=E9rer=20les=20?= =?UTF-8?q?sites=20en=20https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/user.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/user.class.php b/htdocs/user.class.php index a4d02baa72b..24e9a912bfe 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -671,8 +671,10 @@ class User { if ($this->db->affected_rows()) { - $mesg = "Login : $this->login\nMot de passe : $password\n"; - $mesg .= "URL : http://". $GLOBALS["HTTP_HOST"] . DOL_URL_ROOT; + $mesg = "Votre mot de passe pour accéder à Dolibarr a été changé :\n\n"; + $mesg .= "Login : $this->login\n"; + $mesg .= "Mot de passe : $password\n\n"; + $mesg .= "Adresse : ".substr($GLOBALS["SCRIPT_URI"],0,strlen($GLOBALS["SCRIPT_URI"]) - 14); if (mail($this->email, "Mot de passe Dolibarr", $mesg)) { return 1;