don't display content block on rate limit

This commit is contained in:
Glandos 2022-10-27 22:15:48 +02:00 committed by Alexis Metaireau
parent 75ed637911
commit 19f5f07bfb

View file

@ -139,8 +139,9 @@
{{ limit_message }}<br />
{{ _("Please retry after %(date)s.", date=breached_limit.reset_at | from_timestamp | datetimeformat("short") )}}
</p>
{% endif %}
{% else %}
{% block content %}{% endblock %}
{% endif %}
</main>
{% endblock %}
</div>