mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-22 19:32:04 +01:00
update report captcha
This commit is contained in:
parent
071de337eb
commit
8caf0f738b
7
post.php
7
post.php
@ -517,12 +517,7 @@ if (isset($_POST['delete'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$query = new SecureImageCaptchaQuery(
|
$query = $context->get(SecureImageCaptchaQuery::class);
|
||||||
$context->get(HttpDriver::class),
|
|
||||||
$config['domain'],
|
|
||||||
$config['captcha']['provider_check'],
|
|
||||||
$config['captcha']['extra']
|
|
||||||
);
|
|
||||||
$success = $query->verify(
|
$success = $query->verify(
|
||||||
$_POST['captcha_text'],
|
$_POST['captcha_text'],
|
||||||
$_POST['captcha_cookie']
|
$_POST['captcha_cookie']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user