diff options
author | Yorhel <git@yorhel.nl> | 2009-01-10 11:48:12 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-01-10 11:50:59 +0100 |
commit | f213a6d848534146d8b6105f73ae52ebe8271ca1 (patch) | |
tree | 14a80cde3b3b2ae80115a6703848483869b10d46 /lib/VNDB/Util/FormHTML.pm | |
parent | 614d693c4995a0de58379ce8c0780454b5f6db61 (diff) |
Limit account creation to one account a day per IP
This would at least annoy the people who'll try to manipulate
the rankings, and will make finding duplicate users a bit easier.
(Not that it's really a problem at the moment)
Diffstat (limited to 'lib/VNDB/Util/FormHTML.pm')
-rw-r--r-- | lib/VNDB/Util/FormHTML.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Util/FormHTML.pm b/lib/VNDB/Util/FormHTML.pm index ff23682d..f08c733e 100644 --- a/lib/VNDB/Util/FormHTML.pm +++ b/lib/VNDB/Util/FormHTML.pm @@ -50,6 +50,7 @@ my %formerr_exeptions = ( mailexists => 'Someone already registered with that email address', noimage => 'Image must be in JPEG or PNG format', toolarge => 'Image is too large, only 50kB allowed', + oneaday => 'You can only register one account from the same IP within 24 hours', ); |