Change confusing CSRF 403 message

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
Andrew Chen Wang 2021-02-22 15:45:05 -05:00 committed by GitHub
parent ac0af4c178
commit 1aa4c31b87
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>{% if exception %}{{ exception }}{% else %}CSRF verification failed. Request aborted.{% endif %}</p>
<p>{% if exception %}{{ exception }}{% else %}You're not allowed to access this page.{% endif %}</p>
{% endblock content %}{% endraw %}