mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 11:28:41 +01:00
allow caps in captcha
This commit is contained in:
parent
dc0553bc47
commit
6a04623eac
@ -54,7 +54,7 @@ case "check":
|
|||||||
$query = prepare("DELETE FROM `captchas` WHERE `cookie` = ? AND `extra` = ?");
|
$query = prepare("DELETE FROM `captchas` WHERE `cookie` = ? AND `extra` = ?");
|
||||||
$query->execute([$_GET['cookie'], $_GET['extra']]);
|
$query->execute([$_GET['cookie'], $_GET['extra']]);
|
||||||
|
|
||||||
if ($ary[0]['text'] !== $_GET['text']) {
|
if (strtolower($ary[0]['text']) !== strtolower($_GET['text'])) {
|
||||||
echo "0";
|
echo "0";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user