diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-18 08:21:27 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-18 08:21:27 -0300 |
commit | 08f303203418306290d8393f0a77fcba4fab70d5 (patch) | |
tree | bc7b04f25cb56e5b0af17affb79fb82da0c8aafc /etc/inc/upgrade_config.inc | |
parent | 16789caa901f2415da67b10ba6da9eb19e870de8 (diff) | |
download | pfsense-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.inc | 9 |
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; +} + ?> |