mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16653] Fix Recaptcha-v3 default request method
PHPBB3-16653
This commit is contained in:
@@ -21,7 +21,7 @@ if (!defined('IN_PHPBB'))
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
@@ -36,7 +36,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
$lang = array_merge($lang, [
|
||||
// Find the language/country code on https://developers.google.com/recaptcha/docs/language
|
||||
// If no code exists for your language you can use "en" or leave the string empty
|
||||
'RECAPTCHA_LANG' => 'en-GB',
|
||||
@@ -73,4 +73,5 @@ $lang = array_merge($lang, array(
|
||||
'RECAPTCHA_V3_THRESHOLD_REPORT' => 'Report threshold',
|
||||
'RECAPTCHA_V3_THRESHOLDS' => 'Thresholds',
|
||||
'RECAPTCHA_V3_THRESHOLDS_EXPLAIN' => 'reCAPTCHA v3 returns a score (<samp>1.0</samp> is very likely a good interaction, <samp>0.0</samp> is very likely a bot). Here you can set the minimum score per action.',
|
||||
));
|
||||
'EMPTY_RECAPTCHA_V3_REQUEST_METHOD' => 'reCAPTCHA v3 requires to know which available method you want to use when verifying the request.',
|
||||
]);
|
||||
|
Reference in New Issue
Block a user