summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_usermanager.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-29 15:41:14 -0400
committerjim-p <jimp@pfsense.org>2011-04-29 15:43:02 -0400
commitc639315e3c86ae6cc2a1d1030347340f340f8270 (patch)
tree08116d931b467d98263daaba24ac088d9e886c7c /usr/local/www/system_usermanager.php
parentf7ea05059649a0b8eb1a17d34328928447a16123 (diff)
downloadpfsense-c639315e3c86ae6cc2a1d1030347340f340f8270.zip
pfsense-c639315e3c86ae6cc2a1d1030347340f340f8270.tar.gz
Set password on the OS instead of just the gui. Fixes #1485
Diffstat (limited to 'usr/local/www/system_usermanager.php')
-rw-r--r--usr/local/www/system_usermanager.php2
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 />";
}
OpenPOWER on IntegriCloud