Skip to content

Commit 93b7567

Browse files
author
Till Brehm
committed
Added User validation in shell and web tform files.
1 parent cd48c7c commit 93b7567

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
'type' => 'CUSTOM',
9898
'class' => 'validate_systemuser',
9999
'function' => 'check_sysuser',
100-
'check_names' => true,
100+
'check_names' => false,
101101
'errmsg' => 'invalid_username_txt'
102102
),
103103
),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603
1 => array(
604604
'type' => 'CUSTOM',
605605
'class' => 'validate_systemuser',
606-
'function' => 'check_sysuser',
606+
'function' => 'check_sysgroup',
607607
'check_names' => true,
608608
'errmsg' => 'invalid_system_user_or_group_txt'
609609
),

0 commit comments

Comments
 (0)