{# The OIDC logout template. Used during OIDC RP-initiated logout, when an user confirmation is needed. :param form: The logout form. :type form: :class:`~canaille.oidc.endpoints.forms.LogoutForm`. :param client: The client requesting the logout. :type client: :class:`~canaille.oidc.basemodels.Client` #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {% block content %}

{% trans %}Log out{% endtrans %}
{% trans %}Do you want to log out?{% endtrans %}

{{ _("You are currently logged in as %(username)s.", username=user.identifier) }} {% if client %} {{ _("The application %(client_name)s wants to disconnect your account.", client_name=client.client_name) }} {% endif %}


{% call fui.render_form(form, hx_boost="false") %}
{% call fui.render_button(form.answer, "stay", id="stay", class_="ui button") %} {% trans %}Stay logged{% endtrans %} {% endcall %} {% call fui.render_button(form.answer, "logout", id="logout", class_="ui primary button") %} {% trans %}Logout{% endtrans %} {% endcall %}
{% endcall %}
{% endblock %}