NEW hidden configuration to modify the link to return on dolibarr.
Used for externalaccess
This commit is contained in:
parent
f484fc2710
commit
eb76ff7505
@ -2264,6 +2264,8 @@ class User extends CommonObject
|
|||||||
|
|
||||||
if (!$changelater) {
|
if (!$changelater) {
|
||||||
$url = $urlwithroot.'/';
|
$url = $urlwithroot.'/';
|
||||||
|
if(!empty($conf->global->URL_REDIRECTION_AFTER_CHANGEPASSWORD))
|
||||||
|
$url = $conf->global->URL_REDIRECTION_AFTER_CHANGEPASSWORD;
|
||||||
$mesg .= $outputlangs->transnoentitiesnoconv("RequestToResetPasswordReceived").".\n";
|
$mesg .= $outputlangs->transnoentitiesnoconv("RequestToResetPasswordReceived").".\n";
|
||||||
$mesg .= $outputlangs->transnoentitiesnoconv("NewKeyIs")." :\n\n";
|
$mesg .= $outputlangs->transnoentitiesnoconv("NewKeyIs")." :\n\n";
|
||||||
$mesg .= $outputlangs->transnoentitiesnoconv("Login")." = ".$this->login."\n";
|
$mesg .= $outputlangs->transnoentitiesnoconv("Login")." = ".$this->login."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user