captcha bruteforce fix
This commit is contained in:
1 parent
60d6f649ee
commit
4349bf232d
1 file changed
+3
@@ -133,6 +133,9 @@ class bot_protection{
|
|||||||
$answers[] = $regex;
|
$answers[] = $regex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// dedup
|
||||||
|
$answers = array_unique($answers);
|
||||||
|
|
||||||
if(
|
if(
|
||||||
!$invalid &&
|
!$invalid &&
|
||||||
$key !== false // has captcha been gen'd?
|
$key !== false // has captcha been gen'd?
|
||||||
|
|||||||
Reference in new issue
Block a user