1
0
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:
8chan 2015-05-28 21:21:49 -07:00
parent dc0553bc47
commit 6a04623eac

View File

@ -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 {