Skip to content

Commit

Permalink
FIX Bad link to login page into email for password renewal.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 12, 2015
1 parent 8075a92 commit b0d73ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/user/class/user.class.php
Expand Up @@ -1480,10 +1480,10 @@ function setPassword($user, $password='', $changelater=0, $notrigger=0, $nosyncm


/**
* Envoie mot de passe par mail
* Send new password by email
*
* @param User $user Object user de l'utilisateur qui fait l'envoi
* @param string $password Nouveau mot de passe
* @param User $user Object user that send email
* @param string $password New password
* @param int $changelater 1=Change password only after clicking on confirm email
* @return int < 0 si erreur, > 0 si ok
*/
Expand Down Expand Up @@ -1529,7 +1529,7 @@ function send_password($user, $password='', $changelater=0)
$mesg.= $outputlangs->transnoentitiesnoconv("Login")." = ".$this->login."\n";
$mesg.= $outputlangs->transnoentitiesnoconv("Password")." = ".$password."\n\n";
$mesg.= "\n";
$url = $urlwithroot;
$url = $urlwithroot.'/';
$mesg.= $outputlangs->transnoentitiesnoconv("ClickHereToGoTo", $conf->global->MAIN_APPLICATION_TITLE).': '.$url."\n\n";
$mesg.= "--\n";
$mesg.= $user->getFullName($outputlangs); // Username that make then sending
Expand Down

0 comments on commit b0d73ee

Please sign in to comment.