Revision 2715fc52
Added by Scott Ullrich over 19 years ago
usr/local/www/system.php | ||
---|---|---|
134 | 134 |
|
135 | 135 |
unset($config['system']['dnsallowoverride']); |
136 | 136 |
$config['system']['dnsallowoverride'] = $_POST['dnsallowoverride'] ? true : false; |
137 |
|
|
138 |
if ($_POST['password']) {
|
|
137 |
if ($_POST['password']) { |
|
138 |
$config['system']['password'] = crypt($_POST['password']);
|
|
139 | 139 |
update_changedesc("password changed via webConfigurator"); |
140 |
sync_webgui_passwords(); |
|
141 |
}
|
|
140 |
sync_webgui_passwords();
|
|
141 |
}
|
|
142 | 142 |
|
143 | 143 |
if ($changecount > 0) |
144 | 144 |
write_config($changedesc); |
Also available in: Unified diff
Save new password correctly