Request resend of verification mail

This commit is contained in:
Frank
2026-01-14 13:09:32 +01:00
parent 70f5aa785e
commit 6b5c205a27
7 changed files with 103 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class ActivationController extends AbstractController
try {
$emailVerifier->handleEmailConfirmation($request, $user);
} catch (VerifyEmailExceptionInterface $exception) {
$this->addFlash('error', $exception->getReason());
$this->addFlash('error', $exception->getReason() . ' If the link has expired, you can <a href="' . $this->generateUrl('app_verify_resend_email') . '">request a new one here</a>.');
return $this->redirectToRoute('app_register');
}