{% extends 'base.html.twig' %} {% block title %}Hello LoginController!{% endblock %} {% block body %}
{% if error %}
{{ error.messageKey|trans(error.messageData, 'security') }}
{% endif %}
{# If you want to control the URL the user is redirected to on success #}
{% endblock %}