PDA

View Full Version : How to create short user name ,less than 4 letters?


domi-nik
30th March 2006, 17:55
Hi
I have to create a user with short 3 letter name.
Ispconfig default is 4-32.
Any idea?

Dominik

Please, correct my English.

till
30th March 2006, 23:23
You can change the regular expression for the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php

domi-nik
31st March 2006, 00:42
:) Thanks, all is ok.

cryptic
20th June 2007, 22:03
What do you edit in this file? I need users with 2 letter user names.

Thanks!

till
21st June 2007, 12:36
Change the regular expression from:

"/^[a-z][\w\.\-\_]{3,64}$/"

to:

"/^[a-z][\w\.\-\_]{2,64}$/"

in line 144.