handle google captcha

This commit is contained in:
lolcat committed 2025-06-11 18:44:41 -04:00
1 parent b61bc6d07c
commit 037566bbba
1 file changed
+4 -4
+4 -4
View File
@@ -2973,14 +2973,14 @@ class google{
private function detect_sorry(){
$recaptcha =
$captcha_form =
$this->fuckhtml
->getElementById(
"recaptcha",
"div"
"captcha-form",
"form"
);
if($recaptcha !== false){
if($captcha_form !== false){
throw new Exception("Google returned a captcha");
}