mirror of
https://github.com/jazzband/django-authority.git
synced 2026-05-10 16:44:44 +00:00
Fix CSRF failure posting permission change form
Add missing `{% csrf_token %}` in form.
fixes #18
This commit is contained in:
parent
8c5339d5f4
commit
c81f252840
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
{% block content %}<div id="content-main">
|
||||
<form action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
|
||||
{% if save_on_top %}{% submit_row %}{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue