Skip to content

Commit

Permalink
Merge pull request #618 from eerison/fix-reset-password
Browse files Browse the repository at this point in the history
App\Controller\ResetPasswordController::reset internal server error
  • Loading branch information
eerison authored Jun 20, 2022
2 parents 5d47be7 + 5918ceb commit b2251af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ResetPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function reset(Request $request, UserPasswordHasherInterface $passwordEnc
$this->resetPasswordHelper->removeResetRequest($token);

// Encode the plain password, and set it.
$encodedPassword = $passwordEncoder->encodePassword(
$encodedPassword = $passwordEncoder->hashPassword(
$user,
$form->get('plainPassword')->getData()
);
Expand Down

0 comments on commit b2251af

Please sign in to comment.