mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +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->execute([$_GET['cookie'], $_GET['extra']]);
|
||||
|
||||
if ($ary[0]['text'] !== $_GET['text']) {
|
||||
if (strtolower($ary[0]['text']) !== strtolower($_GET['text'])) {
|
||||
echo "0";
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user