mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/security-132] Limit maximum number of captcha attempts at register
SECURITY-132
This commit is contained in:
@@ -300,7 +300,7 @@ class ucp_register
|
|||||||
|
|
||||||
if ($config['max_reg_attempts'] && $captcha->get_attempt_count() > $config['max_reg_attempts'])
|
if ($config['max_reg_attempts'] && $captcha->get_attempt_count() > $config['max_reg_attempts'])
|
||||||
{
|
{
|
||||||
$error[] = $user->lang['TOO_MANY_REGISTERS'];
|
trigger_error('TOO_MANY_REGISTERS');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user