forked from GithubBackups/vichan
Merge pull request #822 from Zankaria/fix-captcha-call
post.php: fix invocation of native captcha
This commit is contained in:
commit
7c305f58bf
4
post.php
4
post.php
@ -519,10 +519,10 @@ if (isset($_POST['delete'])) {
|
|||||||
$query = new NativeCaptchaQuery(
|
$query = new NativeCaptchaQuery(
|
||||||
$context->get(HttpDriver::class),
|
$context->get(HttpDriver::class),
|
||||||
$config['domain'],
|
$config['domain'],
|
||||||
$config['captcha']['provider_check']
|
$config['captcha']['provider_check'],
|
||||||
|
$config['captcha']['extra']
|
||||||
);
|
);
|
||||||
$success = $query->verify(
|
$success = $query->verify(
|
||||||
$config['captcha']['extra'],
|
|
||||||
$_POST['captcha_text'],
|
$_POST['captcha_text'],
|
||||||
$_POST['captcha_cookie']
|
$_POST['captcha_cookie']
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user