{% extends 'HWIOAuthBundle::layout.html.twig' %}

{% block fos_user_content %}
    <script type="text/javascript">
        window.location = '/';
    </script>
    <div class="col-lg-12 text-center"><h4 class="text-center">Sign Up - Confirmed!</h4></div>
    <br>

    <p>{{ 'registration.confirmed'|trans({'%username%': user.username}, 'FOSUserBundle') }}</p>
    {% if app.session is not empty %}
        {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
        {% if targetUrl is not empty %}<p><a href="{{ targetUrl }}">{{ 'registration.back'|trans({}, 'FOSUserBundle') }}</a></p>{% endif %}
    {% endif %}
{% endblock fos_user_content %}

{% extends 'HWIOAuthBundle::layout.html.twig' %}

{% block hwi_oauth_content %}
    <script type="text/javascript">
        window.location = '/';
    </script>
    <div class="col-lg-12 text-center"><h4 class="text-center">Sign Up - Confirmed!</h4></div>
    <br>

    <p>{{ 'registration.confirmed'|trans({'%username%': user.username}, 'FOSUserBundle') }}</p>
    {% if app.session is not empty %}
        {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
        {% if targetUrl is not empty %}<p><a href="{{ targetUrl }}">{{ 'registration.back'|trans({}, 'FOSUserBundle') }}</a></p>{% endif %}
    {% endif %}
{% endblock hwi_oauth_content %}

Fix redirect from confirmed to blank page
Fix redirect from confirmed to blank page
