mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/security-132] Limit maximum number of captcha attempts at register
SECURITY-132
This commit is contained in:
parent
5f8c9962a0
commit
137422116e
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue