From 6199209c2c605e23f38e20e0c93c6617cada5d7c Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 13 Jan 2009 12:36:35 +0000 Subject: Closes #675: Salt changed during password reset git-svn-id: https://code.elgg.org/elgg/trunk@2562 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/resetpassword.php | 1 + 1 file changed, 1 insertion(+) (limited to 'actions') diff --git a/actions/admin/user/resetpassword.php b/actions/admin/user/resetpassword.php index 60d739cf9..34eda5e31 100644 --- a/actions/admin/user/resetpassword.php +++ b/actions/admin/user/resetpassword.php @@ -25,6 +25,7 @@ { $password = generate_random_cleartext_password(); + $obj->salt = generate_random_cleartext_password(); // Reset the salt $obj->password = generate_user_password($obj, $password); if ($obj->save()) -- cgit v1.2.3