Just ignore bots who submit country while registering
This commit is contained in:
@@ -69,6 +69,8 @@ function Register2()
|
||||
global $scripturl, $txt, $modSettings, $db_prefix, $context, $sourcedir, $user_info, $options, $settings;
|
||||
|
||||
# print_r($_SESSION);
|
||||
# Engine supports posting extra fields upon registration, but it will never happen in real life
|
||||
if(! empty($_POST['location'])) die;
|
||||
if (!isset($_SESSION['bogusHit'])) $possibleBot = 1;
|
||||
// die($possibleBot);
|
||||
else $possibleBot = 0;//($_SESSION['bogusHit'] == 1 ? 0 : 1);
|
||||
|
||||
Reference in New Issue
Block a user