Issue #698 has been updated by Clément OUDOT.

Status changed from New to Assigned
Assigned to set to Clément OUDOT

Strange, because this code should fo the same in index.php:
<pre>
# Force reCaptcha SSL if HTTPS
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') { $recaptcha_ssl = 
true; }

</pre>

Can you see why $_SERVER['HTTPS'] do not work on your installation?
----------------------------------------
Bug #698: Recaptcha was not shown when you use SSL even if you force 
"$recaptcha_ssl = true;" in config.inc.php file
http://tools.lsc-project.org/issues/698

Author: Manuel CARRILLO
Status: Assigned
Priority: Normal
Assigned to: Clément OUDOT
Category: Self Service Password
Target version: self-service-password-?


Recaptcha was not shown when you use SSL even if you force "$recaptcha_ssl = 
true;" in config.inc.php file.

I had this line to recaptchalib.php for recaptcha work succesfully with SSL 

<pre>
if ($_SERVER['SERVER_PORT'] == 443) {
                $use_ssl = true;
        }
</pre>


before this line :

<pre>
if ($use_ssl) {
                $server = RECAPTCHA_API_SECURE_SERVER;
        } else {
                $server = RECAPTCHA_API_SERVER;
        }
</pre>

Here you have the file updated




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to