fix shell-select for customer ftp-accounts if shell is enabled; fix typo in UserCommand
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -76,7 +76,7 @@ return [
|
||||
'visible' => Settings::Get('system.allow_customer_shell') == '1',
|
||||
'label' => lng('panel.shell'),
|
||||
'type' => 'select',
|
||||
'select_var' => $shells_avail,
|
||||
'select_var' => $shells,
|
||||
'selected' => '/bin/false'
|
||||
]
|
||||
]
|
||||
|
||||
@@ -61,7 +61,7 @@ return [
|
||||
'visible' => Settings::Get('system.allow_customer_shell') == '1',
|
||||
'label' => lng('panel.shell'),
|
||||
'type' => 'select',
|
||||
'select_var' => $shells_avail,
|
||||
'select_var' => $shells,
|
||||
'selected' => $result['shell'] ?? '/bin/false'
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user