diff options
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-x | usr/local/www/system.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 01575bc..406affd 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -136,16 +136,8 @@ if ($_POST) { $config['system']['dnsallowoverride'] = $_POST['dnsallowoverride'] ? true : false; if ($_POST['password']) { - conf_mount_rw(); - $config['system']['password'] = crypt($_POST['password']); - $fd = popen("/usr/sbin/pw usermod -n root -H 0", "w"); - $salt = md5(time()); - $crypted_pw = crypt($_POST['password'],$salt); - fwrite($fd, $crypted_pw); - pclose($fd); update_changedesc("password changed via webConfigurator"); sync_webgui_passwords(); - conf_mount_ro(); } if ($changecount > 0) |