🔥 chore(CustomerController): Supprime le CustomerController inutilisé.

🐛 fix(BillingEventSusbriber): Corrige l'URL de connexion dans l'email.
This commit is contained in:
Serreau Jovann
2025-10-09 14:47:44 +02:00
parent 83f206e1bf
commit 264199a4a5
2 changed files with 1 additions and 17 deletions

View File

@@ -1,16 +0,0 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class CustomerController extends AbstractController
{
#[Route(path: '/customer',name: 'app_customer_login')]
public function customerLogin(): Response
{
}
}

View File

@@ -62,7 +62,7 @@ class BillingEventSusbriber
$this->mailer->send($account->getEmail(),$account->getEmail(),"[SARL SITECONSEIL] - Création de votre espace client","mails/customer/created_space_customer.twig",[
'account' => $account,
'password' => $password,
'url' => $this->urlGenerator->generate('app_customer_login',[],UrlGeneratorInterface::ABSOLUTE_URL),
'url' => $this->urlGenerator->generate('app_login',[],UrlGeneratorInterface::ABSOLUTE_URL),
]);
}