mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
skip_csrf(datasette, scope) plugin hook, refs #1377
This commit is contained in:
parent
4a3e8561ab
commit
b1fd24ac9f
8 changed files with 68 additions and 1 deletions
|
|
@ -778,6 +778,8 @@ If your plugin implements a ``<form method="POST">`` anywhere you will need to i
|
|||
|
||||
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
|
||||
|
||||
You can selectively disable CSRF protection using the :ref:`plugin_hook_skip_csrf` hook.
|
||||
|
||||
.. _internals_internal:
|
||||
|
||||
The _internal database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue