summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-22 16:06:26 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-22 16:06:26 +0000
commit561d51620d3acdcf6e8da3a75ffe28f236a2d9b6 (patch)
tree1be98bc6bfe0d5fd798940ae612b1839c8ba814a /usr
parent332ccd2b14c672f8a3cadc668b8f0cf53d4d69da (diff)
downloadpfsense-561d51620d3acdcf6e8da3a75ffe28f236a2d9b6.zip
pfsense-561d51620d3acdcf6e8da3a75ffe28f236a2d9b6.tar.gz
Fix reported on http://forum.pfsense.org/index.php/topic,12043.0.html
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_advanced_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php
index 98d19ef..28491ea 100644
--- a/usr/local/www/system_advanced_admin.php
+++ b/usr/local/www/system_advanced_admin.php
@@ -51,7 +51,7 @@ $pconfig['noantilockout'] = isset($config['system']['webgui']['noantilockout']);
$pconfig['enableserial'] = $config['system']['enableserial'];
$pconfig['enablesshd'] = $config['system']['enablesshd'];
$pconfig['sshport'] = $config['system']['ssh']['port'];
-$pconfig['sshdkeyonly'] = $config['system']['ssh']['sshdkeyonly'];
+$pconfig['sshdkeyonly'] = isset($config['system']['ssh']['sshdkeyonly']);
$a_cert =& $config['system']['cert'];
OpenPOWER on IntegriCloud