diff --git a/src/Resources/skeleton/verifyEmail/EmailVerifier.tpl.php b/src/Resources/skeleton/verifyEmail/EmailVerifier.tpl.php index 9931d935f..6e86e66ca 100644 --- a/src/Resources/skeleton/verifyEmail/EmailVerifier.tpl.php +++ b/src/Resources/skeleton/verifyEmail/EmailVerifier.tpl.php @@ -41,7 +41,7 @@ public function sendEmailConfirmation(string $verifyEmailRouteName, UserInterfac */ public function handleEmailConfirmation(Request $request, UserInterface $user): void { - $this->verifyEmailHelper->validateEmailConfirmation($request->getUri(), $user->(), $user->()); + $this->verifyEmailHelper->validateEmailConfirmationFromRequest($request, $user->(), $user->()); $user->setIsVerified(true);