mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
post.php: fix invocation of native captcha
This commit is contained in:
parent
c97c61aeca
commit
3fe44653f2
4
post.php
4
post.php
@ -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']
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user