Skip to content

Commit

Permalink
fix construct variable usage on registercontroller (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-five256 committed May 5, 2024
1 parent 10bbe43 commit 66bcb96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/Security/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public function __invoke(Request $request): Response

if ($form->isSubmitted() && $form->isValid()) {
$dto = $form->getData();
$dto->ip = $ipResolver->resolve();
$dto->ip = $this->ipResolver->resolve();

$manager->create($dto);
$this->manager->create($dto);

$this->addFlash(
'success',
Expand Down

0 comments on commit 66bcb96

Please sign in to comment.