Added support for secure cookies and django-csp
This commit is contained in:
parent
006ff697b9
commit
36605efd20
17 changed files with 28 additions and 15 deletions
|
@ -183,7 +183,7 @@
|
|||
{% include 'snippets/footer.html' %}
|
||||
{% endblock %}
|
||||
|
||||
<script>
|
||||
<script nonce="{{request.csp_nonce}}">
|
||||
var csrf_token = '{{ csrf_token }}';
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue