Vergleich inc/class_captcha.php - 1.8.28 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 156Zeile 156
		elseif(in_array($this->type, array(captcha::HCAPTCHA, captcha::HCAPTCHA_INVISIBLE)) && $mybb->settings['hcaptchapublickey'] && $mybb->settings['hcaptchaprivatekey'])
{
// We want to use hCaptcha or hCaptcha invisible, set the server options

		elseif(in_array($this->type, array(captcha::HCAPTCHA, captcha::HCAPTCHA_INVISIBLE)) && $mybb->settings['hcaptchapublickey'] && $mybb->settings['hcaptchaprivatekey'])
{
// We want to use hCaptcha or hCaptcha invisible, set the server options

			$this->server = "//www.hcaptcha.com/1/api.js";

			$this->server = "//js.hcaptcha.com/1/api.js";

			$this->verify_server = "https://hcaptcha.com/siteverify";

if($build == true)

			$this->verify_server = "https://hcaptcha.com/siteverify";

if($build == true)

Zeile 216Zeile 216

function build_hcaptcha()
{


function build_hcaptcha()
{

		global $lang, $mybb, $templates;

		global $lang, $mybb, $templates, $theme;


// This will build a hCaptcha
$server = $this->server;


// This will build a hCaptcha
$server = $this->server;