Remove token header

This commit is contained in:
James Cole 2022-04-03 12:39:30 +02:00
parent ba64a7d039
commit b96a9a359c
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
</p>
<p style="font-family: monospace;font-size:11px;color:#aaa">
{% for key, header in headers %}
{% if (key != 'cookie') and header[0] != '' %}
{% if (key != 'cookie') and header[0] != '' and key != 'x-xsrf-token' %}
- {{ key }}: {{ header[0] }}<br>
{% endif %}
{% endfor %}

View File

@ -28,7 +28,7 @@
{{ trans('email.error_headers') }}
{% for key, header in headers %}
{% if (key != 'cookie') and header[0] != '' %}
{% if (key != 'cookie') and header[0] != '' and key != 'x-xsrf-token' %}
- {{ key }}: {{ header[0] }}
{% endif %}
{% endfor %}