{% extends "FOSUserBundle::layout.html.twig" %} {% block fos_user_content %}
{{ 'registration.confirmed'|trans({'%username%': user.username}, 'FOSUserBundle') }}
{% if app.session is not empty %} {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %} {% if targetUrl is not empty %}{% endif %} {% endif %} {% endblock fos_user_content %}