Merge pull request #724 from Zankaria/fix-hcaptcha

Fix HCaptcha
This commit is contained in:
Lorenzo Yario authored and GitHub committed 2024-04-18 14:09:55 -07:00
commit 3175f3627d
1 file changed
+1 -1
+1 -1
View File
@@ -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']);
}