▮▮ {{ brand_name }} {{ 'BACKOFFICE' if is_backoffice else 'FRONTOFFICE' }} {% if current_user.is_authenticated and not session.get('mfa_pending') %} {% else %}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for cat, msg in messages %}
{{ msg }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}
{% if request.endpoint != 'auth.login' %} {% endif %} {% block scripts %}{% endblock %}