Skip to content

Commit 0476029

Browse files
authored
Merge pull request #10513 from touhidurabir/i10501_main
#10501 fixed issue with password reset url generation
2 parents a92a27f + 2d39da4 commit 0476029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/mail/traits/PasswordResetUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function setPasswordResetUrl(User $user, ?string $contextUrlPath = nul
4040
$contextUrlPath,
4141
'login',
4242
'resetPassword',
43-
$user->getUsername(),
43+
[$user->getUsername()],
4444
['confirm' => Validation::generatePasswordResetHash($user->getId())]
4545
)
4646
]);

0 commit comments

Comments
 (0)