aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-13 12:36:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-13 12:36:35 +0000
commit6199209c2c605e23f38e20e0c93c6617cada5d7c (patch)
tree84f038808612fb0e9820dbc6743fd88a503fd567 /actions/admin
parent10f0f104a921894f7258d7855f5d31828b93a6aa (diff)
downloadelgg-6199209c2c605e23f38e20e0c93c6617cada5d7c.tar.gz
elgg-6199209c2c605e23f38e20e0c93c6617cada5d7c.tar.bz2
Closes #675: Salt changed during password reset
git-svn-id: https://code.elgg.org/elgg/trunk@2562 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/user/resetpassword.php1
1 files changed, 1 insertions, 0 deletions
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())