Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
@@ -24,14 +24,14 @@ class LoginController implements ContainerAwareInterface
{
$form = $this->container->get('form.factory')->create('Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\CsrfFormLoginBundle\Form\UserLoginType');
return $this->container->get('templating')->renderResponse('CsrfFormLoginBundle:Login:login.html.twig', array(
return new Response($this->container->get('twig')->render('@CsrfFormLogin/Login/login.html.twig', array(
'form' => $form->createView(),
));
)));
}
public function afterLoginAction()
{
return $this->container->get('templating')->renderResponse('CsrfFormLoginBundle:Login:after_login.html.twig');
return new Response($this->container->get('twig')->render('@CsrfFormLogin/Login/after_login.html.twig'));
}
public function loginCheckAction()
@@ -1,4 +1,4 @@
{% extends "::base.html.twig" %}
{% extends "base.html.twig" %}
{% block body %}
Hello {{ app.user.username }}!<br /><br />
@@ -1,4 +1,4 @@
{% extends "::base.html.twig" %}
{% extends "base.html.twig" %}
{% block body %}
@@ -30,11 +30,11 @@ class LocalizedController implements ContainerAwareInterface
$error = $request->getSession()->get(Security::AUTHENTICATION_ERROR);
}
return $this->container->get('templating')->renderResponse('FormLoginBundle:Localized:login.html.twig', array(
return new Response($this->container->get('twig')->render('@FormLogin/Localized/login.html.twig', array(
// last username entered by the user
'last_username' => $request->getSession()->get(Security::LAST_USERNAME),
'error' => $error,
));
)));
}
public function loginCheckAction()
@@ -32,16 +32,16 @@ class LoginController implements ContainerAwareInterface
$error = $request->getSession()->get(Security::AUTHENTICATION_ERROR);
}
return $this->container->get('templating')->renderResponse('FormLoginBundle:Login:login.html.twig', array(
return new Response($this->container->get('twig')->render('@FormLogin/Login/login.html.twig', array(
// last username entered by the user
'last_username' => $request->getSession()->get(Security::LAST_USERNAME),
'error' => $error,
));
)));
}
public function afterLoginAction(UserInterface $user)
{
return $this->container->get('templating')->renderResponse('FormLoginBundle:Login:after_login.html.twig', array('user' => $user));
return new Response($this->container->get('twig')->render('@FormLogin/Login/after_login.html.twig', array('user' => $user)));
}
public function loginCheckAction()
@@ -1,4 +1,4 @@
{% extends "::base.html.twig" %}
{% extends "base.html.twig" %}
{% block body %}
@@ -1,4 +1,4 @@
{% extends "::base.html.twig" %}
{% extends "base.html.twig" %}
{% block body %}
Hello {{ user.username }}!<br /><br />
@@ -1,4 +1,4 @@
{% extends "::base.html.twig" %}
{% extends "base.html.twig" %}
{% block body %}