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 +?>