mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 04:21:17 -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 {
|
||||
|
||||
if (strtolower($text) == strtolower($this->session->userdata('captcha'))) {
|
||||
if ($text && strtolower($text) == strtolower($this->session->userdata('captcha'))) {
|
||||
$this->session->set_userdata('is_human', true);
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user