Quote:
|
Originally Posted by skeeta
Hi All
Can I change some configuration file to allow 3 letter usernames (ie les, bob & sue) as I am trying to convert an existing site without upsetting the users!
Thanks for your time.
|
You have to chnage the ISPConfig code, in the file:
/home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
change line 138 from:
Code:
if(!preg_match("/^[a-z][\w\.\-\_]{3,64}$/",$user_prefix . $username)) {
to:
Code:
if(!preg_match("/^[a-z][\w\.\-\_]{2,64}$/",$user_prefix . $username)) {