Skip to content

Commit 2d39da4

Browse files
committed
#10501 fixed issue with password reset url generation
1 parent a92a27f commit 2d39da4

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)