From b86b9e375da7c67acbf0874a933baaccc117955a Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 16 Apr 2024 22:39:32 +0200 Subject: [PATCH] post.php: fix hcaptcha reading wrong post field --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index 4b28a908..22bc67fa 100644 --- a/post.php +++ b/post.php @@ -623,7 +623,7 @@ if (isset($_POST['delete'])) { if (!isset($_POST['h-captcha-response'])) { error($config['error']['bot']); } - $response = $_POST['g-recaptcha-response']; + $response = $_POST['h-captcha-response']; $query = RemoteCaptchaQuery::withHCaptcha($context->getHttpDriver(), $config['hcaptcha_private']); }