Fix remove action param in url to allow a second try without the error

message
This commit is contained in:
Laurent Destailleur
2020-05-06 15:15:12 +02:00
parent abdb0cc8c0
commit 1ec8b31e46
2 changed files with 3 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ if (!empty($conf->dol_use_jmobile)) $conf->use_javascript_ajax = 1;
$php_self = $_SERVER['PHP_SELF'];
$php_self .= dol_escape_htmltag($_SERVER["QUERY_STRING"]) ? '?'.dol_escape_htmltag($_SERVER["QUERY_STRING"]) : '';
$php_self = str_replace('action=validatenewpassword', '', $php_self);
$titleofpage = $langs->trans('SendNewPassword');