Topic: Manage "Registration Timeout" on the "options" page

A nice feature will be to be able to manage the timeout of the registration with the same IP (specially for guys behind a proxy).

setting something like that on the options page
$pun_config['o_register_timeout']

and then in registrer.php script :

// Check that someone from this IP didn't register a user within the last hour (DoS prevention)
$result = $db->query('SELECT 1 FROM '.$db->prefix.'users WHERE registration_ip=\''.get_remote_address().'\' AND registered>'.(time() - $pun_config['o_register_timeout'] )) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());

2

Re: Manage "Registration Timeout" on the "options" page

Bumped because I just deleted the spam in this thread and the replies to it.