diff --git a/htdocs/cashdesk/index_verif.php b/htdocs/cashdesk/index_verif.php index c10ee821afd..413c77a6869 100644 --- a/htdocs/cashdesk/index_verif.php +++ b/htdocs/cashdesk/index_verif.php @@ -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; }