Skip to content

Commit 7eb5de6

Browse files
authored
Merge branch 'pkp:main' into structured-citations
2 parents 40eaf66 + 0476029 commit 7eb5de6

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)