Review fixes.

(cherry picked from commit 0aa2f5f07b)
This commit is contained in:
Sorin Sbarnea 2018-10-04 16:45:24 +01:00 committed by Renato Botelho
parent 7b5e4508a8
commit e4dc9b6f9a

View File

@ -261,7 +261,7 @@ if ($_POST) {
$sshd_agentforwarding = isset($config['system']['ssh']['sshdagentforwarding']);
if ($_POST['sshdagentforwarding']) {
$config['system']['ssh']['sshdagentforwarding'] = true;
$config['system']['ssh']['sshdagentforwarding'] = 'enabled';
} else {
unset($config['system']['ssh']['sshdagentforwarding']);
}