Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

Commit

Permalink
allow caps in captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed May 29, 2015
1 parent dc0553b commit 6a04623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 8chan-captcha/entrypoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$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 {
Expand Down

0 comments on commit 6a04623

Please sign in to comment.