aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
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())