File: phpbb/db/migration/data/v33x/google_recaptcha_v3.php
Unmodified
Added
Modified
Removed
Line 20 | Line 20 |
---|
return $this->config->offsetExists('recaptcha_v3_key'); }
|
return $this->config->offsetExists('recaptcha_v3_key'); }
|
public static function depends_on()
| static public function depends_on()
|
{ return [ '\phpbb\db\migration\data\v330\v330',
| { return [ '\phpbb\db\migration\data\v330\v330',
|
Line 38 | Line 38 |
---|
foreach (\phpbb\captcha\plugins\recaptcha_v3::get_actions() as $action) {
|
foreach (\phpbb\captcha\plugins\recaptcha_v3::get_actions() as $action) {
|
$data[] = ['config.add', ["recaptcha_v3_threshold_{$action}", 0.5]];
| $data[] = ['config.add', ["recaptcha_v3_threshold_{$action}", '0.5']];
|
}
return $data;
| }
return $data;
|