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:
parent
071de337eb
commit
8caf0f738b
7
post.php
7
post.php
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user