1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-22 11:23:45 +01:00

update report captcha

This commit is contained in:
fowr 2025-01-09 15:57:07 -03:00
parent 071de337eb
commit 8caf0f738b

View File

@ -517,12 +517,7 @@ if (isset($_POST['delete'])) {
}
try {
$query = new SecureImageCaptchaQuery(
$context->get(HttpDriver::class),
$config['domain'],
$config['captcha']['provider_check'],
$config['captcha']['extra']
);
$query = $context->get(SecureImageCaptchaQuery::class);
$success = $query->verify(
$_POST['captcha_text'],
$_POST['captcha_cookie']