Topic: Possible Bug
Synopsis: Changing form values and lengths users can have usernames of extremly long lengths.
Files involved: register.php
Patch:
#OPEN#
register.php
#FIND#
if (strlen($username) < 2)
message($lang_prof_reg['Username too short']);
#ADD AFTER#
else if (strlen($username) > 25)
message($lang_prof_reg['Username too long']);
#OPEN#
en_prof_reg.php(will vary based on language)
#FIND#
'Username too short' => 'Usernames must be at least 2 characters long. Please choose another (longer) username.',
#ADD AFTER#
'Username too long' => 'Usernames may not be over 25 characters long. Please choose another (shorter) username.',
Enjoy.