mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Merge pull request #19447 from inovea-conseil/NEW_return_url_sendpassword
New return url sendpassword
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* Copyright (C) 2013-2015 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||
* Copyright (C) 2018 charlene Benke <charlie@patas-monkey.com>
|
||||
* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||
* Copyright (C) 2018-2021 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||
* Copyright (C) 2019-2020 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2019 Abbes Bahfir <dolipar@dolipar.org>
|
||||
*
|
||||
@@ -2264,6 +2264,8 @@ class User extends CommonObject
|
||||
|
||||
if (!$changelater) {
|
||||
$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("NewKeyIs")." :\n\n";
|
||||
$mesg .= $outputlangs->transnoentitiesnoconv("Login")." = ".$this->login."\n";
|
||||
|
||||
Reference in New Issue
Block a user