diff --git a/src/Controller/Renaissance/Adhesion/AdhesionController.php b/src/Controller/Renaissance/Adhesion/AdhesionController.php index 1017239df3..197288bc9c 100644 --- a/src/Controller/Renaissance/Adhesion/AdhesionController.php +++ b/src/Controller/Renaissance/Adhesion/AdhesionController.php @@ -39,7 +39,7 @@ public function __invoke(Request $request): Response if (($currentUser = $this->getUser()) instanceof Adherent && $currentUser->hasActiveMembership()) { $this->addFlash('success', 'Vous êtes déjà à jour de cotisation.'); - return $this->redirectToRoute('vox_app_redirect'); + return $this->redirectToRoute('vox_app_redirect', ['state' => '/profil']); } /** @var MembershipRequest $membershipRequest */ diff --git a/templates/renaissance/adhesion/finish.html.twig b/templates/renaissance/adhesion/finish.html.twig index 9dc354cafb..1c6b0a1580 100644 --- a/templates/renaissance/adhesion/finish.html.twig +++ b/templates/renaissance/adhesion/finish.html.twig @@ -61,7 +61,8 @@
{% endif %} -