Merge pull request #70 from phpbb/ticket/security-132

[ticket/security-132] Limit maximum number of captcha attempts at register
This commit is contained in:
Marc Alexander 2023-10-15 13:51:05 +02:00
commit 31b3d56ac1
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -300,7 +300,7 @@ class ucp_register
if ($config['max_reg_attempts'] && $captcha->get_attempt_count() > $config['max_reg_attempts'])
{
$error[] = $user->lang['TOO_MANY_REGISTERS'];
trigger_error('TOO_MANY_REGISTERS');
}
}