Warning: Undefined variable $namespace in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/security/formLogin/LoginController.tpl.php on line 3
;
Warning: Undefined variable $use_statements in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/security/formLogin/LoginController.tpl.php on line 5
class
Warning: Undefined variable $controller_name in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/security/formLogin/LoginController.tpl.php on line 7
extends AbstractController
{
#[Route(path: '/login', name: 'app_login')]
public function login(AuthenticationUtils $authenticationUtils): Response
{
// get the login error if there is one
$error = $authenticationUtils->getLastAuthenticationError();
// last username entered by the user
$lastUsername = $authenticationUtils->getLastUsername();
return $this->render('
Warning: Undefined variable $template_path in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/security/formLogin/LoginController.tpl.php on line 18
/login.html.twig', [
'last_username' => $lastUsername,
'error' => $error,
]);
}
}