Skip to content

Commit

Permalink
#10501 fixed issue with password reset url generation
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Oct 9, 2024
1 parent a92a27f commit 2d39da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/mail/traits/PasswordResetUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected function setPasswordResetUrl(User $user, ?string $contextUrlPath = nul
$contextUrlPath,
'login',
'resetPassword',
$user->getUsername(),
[$user->getUsername()],
['confirm' => Validation::generatePasswordResetHash($user->getId())]
)
]);
Expand Down

0 comments on commit 2d39da4

Please sign in to comment.