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