aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-14 10:31:47 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-14 10:31:47 +0000
commitf2ac90d450c5b6888bf6323466b2dc9c3275f4bd (patch)
tree17025881a0bde082c9a002502198fdb209e2c7e9 /actions
parent7df3188f3d83389fc1ddae90002746e80364efee (diff)
downloadelgg-f2ac90d450c5b6888bf6323466b2dc9c3275f4bd.tar.gz
elgg-f2ac90d450c5b6888bf6323466b2dc9c3275f4bd.tar.bz2
Closes #675: Posted missing commits from last time.
git-svn-id: https://code.elgg.org/elgg/trunk@2567 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/user/password.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/user/password.php b/actions/user/password.php
index aae22cc02..eb5debcb8 100644
--- a/actions/user/password.php
+++ b/actions/user/password.php
@@ -31,6 +31,7 @@
{
if ($password == $password2)
{
+ $user->salt = generate_random_cleartext_password(); // Reset the salt
$user->password = generate_user_password($user, $password);
if ($user->save())
system_message(elgg_echo('user:password:success'));