mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
system: whitespaces :D
This commit is contained in:
parent
4b125cb095
commit
8fb1a11e33
@ -240,13 +240,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$config['system']['ssh']['noauto'] = 1;
|
||||
|
||||
$config['system']['ssh']['interfaces'] = !empty($pconfig['sshinterfaces']) ? implode(',', $pconfig['sshinterfaces']) : null;
|
||||
|
||||
$config['system']['ssh']['kex'] = !empty($pconfig['ssh-kex']) ? implode(',', $pconfig['ssh-kex']) : null;
|
||||
$config['system']['ssh']['ciphers'] = !empty($pconfig['ssh-ciphers']) ? implode(',', $pconfig['ssh-ciphers']) : null;
|
||||
$config['system']['ssh']['macs'] = !empty($pconfig['ssh-macs']) ? implode(',', $pconfig['ssh-macs']) : null;
|
||||
$config['system']['ssh']['keys'] = !empty($pconfig['ssh-keys']) ? implode(',', $pconfig['ssh-keys']) : null;
|
||||
|
||||
|
||||
if (!empty($pconfig['enablesshd'])) {
|
||||
$config['system']['ssh']['enabled'] = 'enabled';
|
||||
} elseif (isset($config['system']['ssh']['enabled'])) {
|
||||
@ -271,7 +269,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
unset($config['system']['user_allow_gen_token']);
|
||||
}
|
||||
|
||||
|
||||
if (!empty($pconfig['sshpasswordauth'])) {
|
||||
$config['system']['ssh']['passwordauth'] = true;
|
||||
} elseif (isset($config['system']['ssh']['passwordauth'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user