interface/web/sites/form/ftp_user.tform.php
@@ -83,12 +83,10 @@ 'username' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'username_error_empty'), 1 => array ( 'type' => 'UNIQUE', 'validators' => array ( 0 => array ( 'type' => 'UNIQUE', 'errmsg'=> 'username_error_unique'), 2 => array ( 'type' => 'REGEX', 'regex' => '/^[\w\.\-]{1,64}$/', 1 => array ( 'type' => 'REGEX', 'regex' => '/^[\w\.\-]{0,64}$/', 'errmsg'=> 'username_error_regex'), ), 'default' => '',