{% extends "FOSUserBundle::layout.html.twig" %} {% trans_default_domain 'FOSUserBundle' %} {% block fos_user_header %} {% endblock %} {% block fos_user_content %} {# HWIOAuthBundle uses the same template for the login and the connect functionality currently so we need to check if the user is already authenticated. #} {% if not app.user %}