mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
Fix a critical bug that allows pasting despite captcha
This commit is contained in:
parent
8a5e55cec8
commit
fe75336691
@ -669,7 +669,7 @@ class Main extends CI_Controller
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (strtolower($text) == strtolower($this->session->userdata('captcha'))) {
|
if ($text && strtolower($text) == strtolower($this->session->userdata('captcha'))) {
|
||||||
$this->session->set_userdata('is_human', true);
|
$this->session->set_userdata('is_human', true);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user