mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Relocate sync_webgui_passwords();
This commit is contained in:
parent
3cfdba5f63
commit
96a4e962c3
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user