ui: remove outdated csrfToken field

This commit is contained in:
undefined committed 2023-01-09 21:37:46 +08:00
1 parent bfee8c8841
commit f213a3d16c
35 files changed
+10 -59

No files matched your search

@@ -43,7 +43,6 @@
{% if handler.user.hasPerm(perm.PERM_ATTEND_CONTEST) and handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %}
<form action="{{ url('contest_detail', tid=tdoc.docId) }}" method="POST">
<input type="hidden" name="operation" value="attend">
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
<button class="menu__link" {% if tdoc._code %}data-contest-code{% endif %} type="submit">
<span class="icon icon-add"></span> {{ _('Attend Contest') }}
</button>