1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/15937] ReCaptcha language fixes (sprintf and https links)

PHPBB3-15937
This commit is contained in:
mrgoldy
2020-04-22 20:20:23 +02:00
parent feb94b446a
commit f671d7559a
2 changed files with 6 additions and 6 deletions

View File

@@ -262,7 +262,7 @@ class recaptcha_v3 extends captcha_abstract
'RECAPTCHA_ACTION' => self::$actions[$this->type] ?? reset(self::$actions),
'RECAPTCHA_KEY' => $config['recaptcha_v3_key'] ?? '',
'U_RECAPTCHA_SCRIPT' => sprintf('//%s/recaptcha/api.js?render=%s', $domain, $render),
'U_RECAPTCHA_SCRIPT' => sprintf('//%1$s/recaptcha/api.js?render=%2$s', $domain, $render),
'S_CONFIRM_CODE' => true,
'S_RECAPTCHA_AVAILABLE' => $this->is_available(),