confirmed.html.twig 510 B

123456789
  1. {% extends "FOSUserBundle::layout.html.twig" %}
  2. {% block fos_user_content %}
  3. <p>{{ 'registration.confirmed'|trans({'%username%': user.username}, 'FOSUserBundle') }}</p>
  4. {% if app.session is not empty %}
  5. {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
  6. {% if targetUrl is not empty %}<p><a href="{{ targetUrl }}">{{ 'registration.back'|trans({}, 'FOSUserBundle') }}</a></p>{% endif %}
  7. {% endif %}
  8. {% endblock fos_user_content %}