Enforce maximum length of ban appeal

This commit is contained in:
discomrade authored and Zankaria committed 2024-03-15 16:02:35 +01:00
1 parent 3ac86a074a
commit e80549a881
3 files changed
+19 -6

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@
{% endif %}
<form class="ban-appeal" action="{{ config.file_post }}" method="post">
<input type="hidden" name="ban_id" value="{{ ban.id }}">
<textarea name="appeal" rows="4" cols="40"></textarea>
<textarea name="appeal" rows="4" cols="40" maxlength="{{ config.ban_appeal_max_chars }}"></textarea>
<input type="submit" value="Submit">
</form>
{% endif %}