mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
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:
commit
31b3d56ac1
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