Commit 93b75676 authored by Till Brehm's avatar Till Brehm
Browse files

Added User validation in shell and web tform files.

parent cd48c7ce
......@@ -97,7 +97,7 @@ $form["tabs"]['shell'] = array (
'type' => 'CUSTOM',
'class' => 'validate_systemuser',
'function' => 'check_sysuser',
'check_names' => true,
'check_names' => false,
'errmsg' => 'invalid_username_txt'
),
),
......
......@@ -603,7 +603,7 @@ if($_SESSION["s"]["user"]["typ"] == 'admin') {
1 => array(
'type' => 'CUSTOM',
'class' => 'validate_systemuser',
'function' => 'check_sysuser',
'function' => 'check_sysgroup',
'check_names' => true,
'errmsg' => 'invalid_system_user_or_group_txt'
),
......
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