Skip to content

Commit e41cd3a

Browse files
author
roman
committed
MAGETWO-70943: Incorrect reset password flow
1 parent 822de9d commit e41cd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/AccountManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ private function handleUnknownTemplate($template)
661661
/**
662662
* @inheritdoc
663663
*/
664-
public function resetPassword(?string $email, string $resetToken, string $newPassword): bool
664+
public function resetPassword($email, $resetToken, $newPassword): bool
665665
{
666666
if (!$email) {
667667
$customer = $this->matchCustomerByRpToken($resetToken);

0 commit comments

Comments
 (0)