diff options
author | jim-p <jimp@pfsense.org> | 2011-04-29 15:41:14 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-29 15:43:02 -0400 |
commit | c639315e3c86ae6cc2a1d1030347340f340f8270 (patch) | |
tree | 08116d931b467d98263daaba24ac088d9e886c7c | |
parent | f7ea05059649a0b8eb1a17d34328928447a16123 (diff) | |
download | pfsense-c639315e3c86ae6cc2a1d1030347340f340f8270.zip pfsense-c639315e3c86ae6cc2a1d1030347340f340f8270.tar.gz |
Set password on the OS instead of just the gui. Fixes #1485
-rw-r--r-- | usr/local/www/system_usermanager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php index cdc4078..d810cb9 100644 --- a/usr/local/www/system_usermanager.php +++ b/usr/local/www/system_usermanager.php @@ -897,7 +897,7 @@ function sshkeyClicked(obj) { if (!$input_errors) { // all values are okay --> saving changes $config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]['password'] = crypt(trim($_POST['passwordfld1'])); - + local_user_set($config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]); write_config(); $savemsg = gettext("Password successfully changed") . "<br />"; } |