mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
Require POST method for /accounts/logout. This has the side effect of automatically enabling Django's CSRF protection. (imported from commit 44b1b6ebaadc1c03006e21ae54ac768e31234801)
5 lines
121 B
HTML
5 lines
121 B
HTML
<div class="hidden">
|
|
<form id="logout_form" action="/accounts/logout/" method="POST">{% csrf_token %}
|
|
</form>
|
|
</div>
|