mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
post.php: fix hcaptcha reading wrong post field
This commit is contained in:
parent
73f2e3222b
commit
b86b9e375d
2
post.php
2
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']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user