- <?php
- namespace App\Controller;
- 
- use Symfony\Contracts\HttpClient\HttpClientInterface;
- use Symfony\Component\HttpFoundation\Response;
- use Symfony\Component\Routing\Annotation\Route;
- use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
- 
- class LoginController extends AbstractController
- {
-     private $client;
- 
-     public function __construct(HttpClientInterface $client)
-     {
-         $this->client = $client;
-     }
- 
-     /**
-      * @Route("/login")
-      */
-     public function renderLoginPage()
-     {
-         // $response = $this->client->request(
-         //     'POST',
-         //     '{$_ENV['BASE_API']}login'
-         // );
-         // $content = $response->toArray();
-         // $finalArray = [];
-         // foreach($content["clients"]as $client)
-         // {
-         //     array_push($finalArray, $client["Ids"]);
-         // }
-         return $this->render('./login/login.html.twig', array(
-         ));
-     }
- 
-     /**
-      * @Route("/forgot/{token}")
-      */
-     public function renderModificationPassword(string $token)
-     { 
-         
-         return $this->render('./login/login.html.twig', array(
-                 'token' => $token,
-             )
-         );
- 
-     }
- 
- }
- 
- ?>