From 8caf0f738b7d0983158dad073b35fc4f4278257b Mon Sep 17 00:00:00 2001 From: fowr <89118232+perdedora@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:57:07 -0300 Subject: [PATCH] update report captcha --- post.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/post.php b/post.php index bb15781f..17ee95c5 100644 --- a/post.php +++ b/post.php @@ -517,12 +517,7 @@ if (isset($_POST['delete'])) { } try { - $query = new SecureImageCaptchaQuery( - $context->get(HttpDriver::class), - $config['domain'], - $config['captcha']['provider_check'], - $config['captcha']['extra'] - ); + $query = $context->get(SecureImageCaptchaQuery::class); $success = $query->verify( $_POST['captcha_text'], $_POST['captcha_cookie']