Skip to content

Commit

Permalink
add RequestStack
Browse files Browse the repository at this point in the history
  • Loading branch information
antedebaas committed Oct 13, 2024
1 parent c68f72b commit be0d3c4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Controller/ResetPasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@
use SymfonyCasts\Bundle\ResetPassword\Controller\ResetPasswordControllerTrait;
use SymfonyCasts\Bundle\ResetPassword\Exception\ResetPasswordExceptionInterface;
use SymfonyCasts\Bundle\ResetPassword\ResetPasswordHelperInterface;
use Symfony\Component\HttpFoundation\RequestStack;

#[Route('/reset-password')]
class ResetPasswordController extends AbstractController
{
use ResetPasswordControllerTrait;

public function __construct(
private ResetPasswordHelperInterface $resetPasswordHelper,
private EntityManagerInterface $entityManager
) {
}
private RequestStack $requestStack;

public function __construct( private ResetPasswordHelperInterface $resetPasswordHelper, private EntityManagerInterface $entityManager, RequestStack $requestStack )
{
$this->requestStack = $requestStack;
}
/**
* Display & process form to request a password reset.
*/
Expand Down

0 comments on commit be0d3c4

Please sign in to comment.