Début ajout d'un code captcha
This commit is contained in:
parent
33a4688434
commit
7fa4f265cb
@ -1226,7 +1226,7 @@ function dol_loginfunction($notused,$pearstatus)
|
|||||||
// Start Form
|
// Start Form
|
||||||
if ($conf->global->MAIN_SECURITY_ENABLECAPTCHA)
|
if ($conf->global->MAIN_SECURITY_ENABLECAPTCHA)
|
||||||
{
|
{
|
||||||
print '<form id="login" name="login" method="post" action="'.DOL_URL_ROOT.'/verifier.php?'.SID.'">';
|
print '<form id="login" name="login" method="post" action="'.DOL_URL_ROOT.'/verifier.php">';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1293,7 +1293,7 @@ function dol_loginfunction($notused,$pearstatus)
|
|||||||
{
|
{
|
||||||
$cryptinstall = DOL_DOCUMENT_ROOT.'/includes/cryptographp/cryptographp.fct.php';
|
$cryptinstall = DOL_DOCUMENT_ROOT.'/includes/cryptographp/cryptographp.fct.php';
|
||||||
include_once $cryptinstall;
|
include_once $cryptinstall;
|
||||||
print '<tr><td align="left"> <b>'.$langs->trans("Code").'</b></td>';
|
print '<tr><td align="left"> <b>'.$langs->trans("SecurityCode").'</b></td>';
|
||||||
print '<td><input type="text" size="15" maxlength="10" name="code"></td>';
|
print '<td><input type="text" size="15" maxlength="10" name="code"></td>';
|
||||||
dsp_crypt(0,1);
|
dsp_crypt(0,1);
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user