Fix: Trad

This commit is contained in:
Laurent Destailleur 2010-07-14 16:57:12 +00:00
parent 91783c8242
commit 2c2aa05171

View File

@ -89,7 +89,8 @@ if ( $retour >= 0 )
}
else
{
$retour=$langs->trans("ErrorWrongPassword");
$langs->load("errors");
$retour=$langs->trans("ErrorBadLoginPassword");
header ('Location: '.DOL_URL_ROOT.'/cashdesk/index.php?err='.urlencode($retour).'&user='.$username);
exit;
}