summaryrefslogtreecommitdiffstats
path: root/etc/inc/upgrade_config.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-18 08:21:27 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-18 08:21:27 -0300
commit08f303203418306290d8393f0a77fcba4fab70d5 (patch)
treebc7b04f25cb56e5b0af17affb79fb82da0c8aafc /etc/inc/upgrade_config.inc
parent16789caa901f2415da67b10ba6da9eb19e870de8 (diff)
downloadpfsense-08f303203418306290d8393f0a77fcba4fab70d5.zip
pfsense-08f303203418306290d8393f0a77fcba4fab70d5.tar.gz
Change the option for webconfig login autocomplete from opt-in to opt-out, also bump config version and write a function to keep the current status on upgrades
Diffstat (limited to 'etc/inc/upgrade_config.inc')
-rw-r--r--etc/inc/upgrade_config.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index c33deb1..7bf5505 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -3333,4 +3333,13 @@ function upgrade_106_to_107() {
}
}
+function upgrade_107_to_108() {
+ global $config;
+
+ if (isset($config['system']['webgui']['noautocomplete']))
+ unset($config['system']['webgui']['noautocomplete']);
+ else
+ $config['system']['webgui']['loginautocomplete'] = true;
+}
+
?>
OpenPOWER on IntegriCloud