Project

General

Profile

« Previous | Next » 

Revision c639315e

Added by Jim Pingle about 14 years ago

Set password on the OS instead of just the gui. Fixes #1485

View differences:

usr/local/www/system_usermanager.php
897 897
		if (!$input_errors) {
898 898
			// all values are okay --> saving changes
899 899
			$config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]['password'] = crypt(trim($_POST['passwordfld1']));
900

  
900
			local_user_set($config['system']['user'][$userindex[$HTTP_SERVER_VARS['AUTH_USER']]]);
901 901
			write_config();
902 902
			$savemsg = gettext("Password successfully changed") . "<br />";
903 903
		}

Also available in: Unified diff