changeset 591 | 2529833a7731 |
parent 590 | 03a60844c7c5 |
child 593 | 4f9bec0d65c1 |
--- a/plugins/SpecialUserFuncs.php Mon Jun 30 17:20:02 2008 -0400 +++ b/plugins/SpecialUserFuncs.php Mon Jun 30 17:22:29 2008 -0400 @@ -1597,7 +1597,7 @@ return false; } } - $encpass = $aes->encrypt($data, $session->private_key, ENC_HEX); + $encpass = $session->pk_encrypt($data, ENC_HEX); $q = $db->sql_query('UPDATE '.table_prefix.'users SET password=\'' . $encpass . '\',temp_password=\'\',temp_password_time=0 WHERE user_id='.$user_id.';'); if($q)