From 811935ef5fca1e772932a8ca83f1f15d80e7666a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Oct 2007 00:38:29 +0000 Subject: [PATCH] =?UTF-8?q?Restauration=20du=20code=20visuel=20systematiqu?= =?UTF-8?q?e.=20Car=20la=20page=20de=20demande=20de=20mot=20de=20passe=20n?= =?UTF-8?q?'est=20pas=20vocation,=20pas=20prot=C3=A9g=C3=A9=20par=20identi?= =?UTF-8?q?fication,=20donc=20soumis=20aux=20attaques=20de=20robots,=20la?= =?UTF-8?q?=20saisie=20du=20crypto=20doit=20etre=20obligatoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/user/passwordforgotten.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index 96bd8d9ebf5..8fb7c741510 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -232,7 +232,7 @@ print '>'; print ''."\n"; -if ($conf->global->MAIN_SECURITY_ENABLECAPTCHA && ! $disabled) +if (function_exists("imagecreatefrompng") && ! $disabled) { //print "Info session: ".session_name().session_id();print_r($_SESSION); $cryptinstall = DOL_URL_ROOT.'/includes/cryptographp'; @@ -277,4 +277,4 @@ print "
"; // Fin entete html print "\n\n"; -?> \ No newline at end of file +?>