1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

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
commit 3175f3627d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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