![]() |
Change minimum user name length
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. |
Quote:
/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)) {Code:
if(!preg_match("/^[a-z][\w\.\-\_]{2,64}$/",$user_prefix . $username)) { |
By changing the code above, am I correct to assume that the normal/default login for webmail and ftp can be changed to just a username? Or better yet, firstname_lastname? Please tall me it's possible!? :eek:
|
Quote:
|
Yes, I know where that is. But I was under the impression that the prefix was manditory. Thanks again for pointing this out. I suppose there would be some slight implication by not providing a prefix?
|
Quote:
|
Quote:
Others might take heed to your posts though. As for myself, I just want to make this as least painfull to my computer illiterate parents and friends. :cool: |
| All times are GMT +2. The time now is 14:35. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.