Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
9d57538c
Commit
9d57538c
authored
Jun 17, 2014
by
Till Brehm
Browse files
Allow + and @ in FTP user names for compatibility with cpanel.
parent
efbb88fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/form/ftp_user.tform.php
View file @
9d57538c
...
...
@@ -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'
=>
''
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment