handle google captcha

037566bbba
This commit is contained in:
FbIN Support 2025-06-12 12:03:49 +05:30
commit 56c6b4ee35

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");
} }