forked from lolcat/4get
1
0
Fork 0

handle google captcha

This commit is contained in:
lolcat 2025-06-11 18:44:41 -04:00
parent b61bc6d07c
commit 037566bbba
1 changed files with 4 additions and 4 deletions

View File

@ -2973,14 +2973,14 @@ class google{
private function detect_sorry(){ private function detect_sorry(){
$recaptcha = $captcha_form =
$this->fuckhtml $this->fuckhtml
->getElementById( ->getElementById(
"recaptcha", "captcha-form",
"div" "form"
); );
if($recaptcha !== false){ if($captcha_form !== false){
throw new Exception("Google returned a captcha"); throw new Exception("Google returned a captcha");
} }