How to create short user name ,less than 4 letters?

Discussion in 'General' started by domi-nik, Mar 30, 2006.

  1. domi-nik

    domi-nik New Member

    Hi
    I have to create a user with short 3 letter name.
    Ispconfig default is 4-32.
    Any idea?

    Dominik

    Please, correct my English.
     
  2. till

    till Super Moderator

    You can change the regular expression for the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
     
  3. domi-nik

    domi-nik New Member

    It works.

    :) Thanks, all is ok.
     
  4. cryptic

    cryptic Member

    What do you edit in this file? I need users with 2 letter user names.

    Thanks!
     
  5. till

    till Super Moderator

    Change the regular expression from:

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

    to:

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

    in line 144.
     

Share This Page