Skip to content

Commit

Permalink
Missing template from previous commit, refs #2389
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 15, 2024
1 parent 06d4ffb commit e9d34a9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions datasette/templates/csrf_error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block title %}CSRF check failed){% endblock %}
{% block content %}
<h1>Form origin check failed</h1>

<p>Your request's origin could not be validated. Please return to the form and submit it again.</p>

<details><summary>Technical details</summary>
<p>Developers: consult Datasette's <a href="https://docs.datasette.io/en/latest/internals.html#csrf-protection">CSRF protection documentation</a>.</p>
<p>Error code is {{ message_name }}.</p>
</details>

{% endblock %}

0 comments on commit e9d34a9

Please # to comment.