captcha bruteforce fix
This commit is contained in:
@@ -133,6 +133,9 @@ class bot_protection{
|
||||
$answers[] = $regex;
|
||||
}
|
||||
|
||||
// dedup
|
||||
$answers = array_unique($answers);
|
||||
|
||||
if(
|
||||
!$invalid &&
|
||||
$key !== false // has captcha been gen'd?
|
||||
|
||||
Reference in New Issue
Block a user