system: whitespaces :D

This commit is contained in:
Franco Fichtner 2020-11-24 10:33:46 +01:00
parent 4b125cb095
commit 8fb1a11e33

View File

@ -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'])) {