Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Zvonimir
ISPConfig 3
Commits
93b75676
Commit
93b75676
authored
Aug 13, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added User validation in shell and web tform files.
parent
cd48c7ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interface/web/sites/form/shell_user.tform.php
interface/web/sites/form/shell_user.tform.php
+1
-1
interface/web/sites/form/web_domain.tform.php
interface/web/sites/form/web_domain.tform.php
+1
-1
No files found.
interface/web/sites/form/shell_user.tform.php
View file @
93b75676
...
...
@@ -97,7 +97,7 @@ $form["tabs"]['shell'] = array (
'type'
=>
'CUSTOM'
,
'class'
=>
'validate_systemuser'
,
'function'
=>
'check_sysuser'
,
'check_names'
=>
tru
e
,
'check_names'
=>
fals
e
,
'errmsg'
=>
'invalid_username_txt'
),
),
...
...
interface/web/sites/form/web_domain.tform.php
View file @
93b75676
...
...
@@ -603,7 +603,7 @@ if($_SESSION["s"]["user"]["typ"] == 'admin') {
1
=>
array
(
'type'
=>
'CUSTOM'
,
'class'
=>
'validate_systemuser'
,
'function'
=>
'check_sys
user
'
,
'function'
=>
'check_sys
group
'
,
'check_names'
=>
true
,
'errmsg'
=>
'invalid_system_user_or_group_txt'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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