Use exception var in 403.html if available

This commit is contained in:
Andrew Chen Wang 2021-01-01 22:40:30 -05:00 committed by GitHub
parent 86a388b7a4
commit 3a1e94f41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,5 +5,5 @@
{% block content %}
<h1>Forbidden (403)</h1>
<p>CSRF verification failed. Request aborted.</p>
<p>{% if exception %}{{ exception }}{% else %}CSRF verification failed. Request aborted.{% endif %}</p>
{% endblock content %}{% endraw %}