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

@@ -27,7 +27,6 @@
{% if handler.user.hasPerm(perm.PERM_ATTEND_HOMEWORK) and handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %}
<form action="{{ url('homework_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" type="submit">
<span class="icon icon-add"></span> {{ _('Claim Homework') }}
</button>