FIX #15481
This commit is contained in:
parent
35dbd463e1
commit
fabed34a99
@ -71,7 +71,7 @@ if ($action == 'validatenewpassword' && $username && $passwordhash)
|
||||
$result = $edituser->fetch('', $_GET["username"]);
|
||||
if ($result < 0)
|
||||
{
|
||||
$message = '<div class="error">'.$langs->trans("ErrorLoginDoesNotExists", $username).'</div>';
|
||||
$message = '<div class="error">'.dol_escape_htmltag($langs->trans("ErrorLoginDoesNotExists", $username)).'</div>';
|
||||
} else {
|
||||
if (dol_verifyHash($edituser->pass_temp, $passwordhash))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user