Merge pull request #724 from Zankaria/fix-hcaptcha

Fix HCaptcha
This commit is contained in:
Lorenzo Yario
2024-04-18 14:09:55 -07:00
committed by GitHub

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']);
}