mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
[ticket/13316] Ensure Recaptcha image uses https when necessary.
PHPBB3-13316
This commit is contained in:
parent
f719803fdc
commit
f3373e1e32
1 changed files with 4 additions and 2 deletions
|
@ -26,8 +26,10 @@ class recaptcha extends captcha_abstract
|
||||||
var $challenge;
|
var $challenge;
|
||||||
var $response;
|
var $response;
|
||||||
|
|
||||||
// PHP4 Constructor
|
/**
|
||||||
function phpbb_recaptcha()
|
* Constructor
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
{
|
{
|
||||||
global $request;
|
global $request;
|
||||||
$this->recaptcha_server = $request->is_secure() ? $this->recaptcha_server_secure : $this->recaptcha_server;
|
$this->recaptcha_server = $request->is_secure() ? $this->recaptcha_server_secure : $this->recaptcha_server;
|
||||||
|
|
Loading…
Add table
Reference in a new issue