Username Size

Colin colinc at terrigal.net.au
Thu Jun 15 17:45:31 PDT 2000


Is there a proper procedure to change the maximum size for the
username??
I believe the default size is 8 characters, which i think is read from
the length in the svc_acct table for username.
I've added the 'usernamemax' file in the config and set this to 16,
however upon loading the 'Add New Customer' menu the max size of the
username field is still set to 8 characters. Same username field size is
also displayed in the 'Add SLIP/PPP account' menu

Next attempt was to change the field size in mysql for the svc_acct
table and hope that the $ulen variable would change to this value, the
username field size in svc_acct is now set to 16. Restarted apache,
emptied cache etc.. and loaded the same menus as mentioned above but
still no change, still restricted to 8 characters.

The only way i managed to allow more than 8 characters is to manually
edit both the svc_acct.cgi and cust_main.cgi file and set the SIZE and
MAXLENGTH field to 16 and comment out $ulen and $ulen2.

This works but i'm sure there is a proper way to achieve this, any help
would be appreciated.




More information about the freeside-users mailing list