Skip to content

Commit 9d57538

Browse files
author
Till Brehm
committed
Allow + and @ in FTP user names for compatibility with cpanel.
1 parent efbb88f commit 9d57538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/form/ftp_user.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
'validators' => array ( 0 => array ( 'type' => 'UNIQUE',
9292
'errmsg'=> 'username_error_unique'),
9393
1 => array ( 'type' => 'REGEX',
94-
'regex' => '/^[\w\.\-]{0,64}$/',
94+
'regex' => '/^[\w\.\-@\+]{0,64}$/',
9595
'errmsg'=> 'username_error_regex'),
9696
),
9797
'default' => '',

0 commit comments

Comments
 (0)