summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-21 18:57:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-21 18:57:47 +0000
commit96a4e962c366e0683f1de826be9bed8946bfbf72 (patch)
tree1c39ff139748fde9b81a064f2176cd5af52eadda /usr/local/www/system.php
parent3cfdba5f63f19869056809336ad0a4ac47b3f4fc (diff)
downloadpfsense-96a4e962c366e0683f1de826be9bed8946bfbf72.zip
pfsense-96a4e962c366e0683f1de826be9bed8946bfbf72.tar.gz
Relocate sync_webgui_passwords();
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-xusr/local/www/system.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 287000c..84a8408 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -141,7 +141,6 @@ if ($_POST) {
$crypted_pw = crypt($_POST['password'],$salt);
fwrite($fd, $crypted_pw);
pclose($fd);
- sync_webgui_passwords();
update_changedesc("password changed via webConfigurator");
conf_mount_ro();
}
@@ -167,6 +166,8 @@ if ($_POST) {
$retval |= services_dnsmasq_configure();
$retval |= system_timezone_configure();
$retval |= system_ntp_configure();
+
+ sync_webgui_passwords();
if ($olddnsallowoverride != $config['system']['dnsallowoverride'])
$retval |= interfaces_wan_configure();
OpenPOWER on IntegriCloud