Till Brehm
2014-06-17 9d57538ce8181a02f1652647aa940471fbee2cf3
Allow + and @ in FTP user names for compatibility with cpanel.
1 files modified
2 ■■■ changed files
interface/web/sites/form/ftp_user.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/sites/form/ftp_user.tform.php
@@ -91,7 +91,7 @@
            'validators' => array (  0 => array ( 'type' => 'UNIQUE',
                    'errmsg'=> 'username_error_unique'),
                1 => array ( 'type' => 'REGEX',
                    'regex' => '/^[\w\.\-]{0,64}$/',
                    'regex' => '/^[\w\.\-@\+]{0,64}$/',
                    'errmsg'=> 'username_error_regex'),
            ),
            'default' => '',