added abbility to enable/disable login for ftp users; fixes #1146
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -79,7 +79,13 @@ return [
|
||||
'type' => 'select',
|
||||
'select_var' => $shells,
|
||||
'selected' => '/bin/false'
|
||||
]
|
||||
],
|
||||
'login_enabled' => [
|
||||
'label' => lng('panel.active'),
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => true
|
||||
],
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -65,7 +65,13 @@ return [
|
||||
'type' => 'select',
|
||||
'select_var' => $shells,
|
||||
'selected' => $result['shell'] ?? '/bin/false'
|
||||
]
|
||||
],
|
||||
'login_enabled' => [
|
||||
'label' => lng('panel.active'),
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => $result['login_enabled'] == 'Y',
|
||||
],
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user