1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-18 02:16:03 +01:00

Merge pull request #822 from Zankaria/fix-captcha-call

post.php: fix invocation of native captcha
This commit is contained in:
Lorenzo Yario 2024-10-08 20:12:25 -07:00 committed by GitHub
commit 7c305f58bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -519,10 +519,10 @@ if (isset($_POST['delete'])) {
$query = new NativeCaptchaQuery(
$context->get(HttpDriver::class),
$config['domain'],
$config['captcha']['provider_check']
$config['captcha']['provider_check'],
$config['captcha']['extra']
);
$success = $query->verify(
$config['captcha']['extra'],
$_POST['captcha_text'],
$_POST['captcha_cookie']
);