Commit 9d57538c authored by Till Brehm's avatar Till Brehm
Browse files

Allow + and @ in FTP user names for compatibility with cpanel.

parent efbb88fe
......@@ -91,7 +91,7 @@ $form["tabs"]['ftp'] = array (
'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' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment