make it harder to accidentally unban everyone

This commit is contained in:
Lorenzo Yario
2024-02-22 18:40:37 -08:00
committed by GitHub
parent 4bda535c66
commit 543d5e1757

View File

@@ -21,7 +21,7 @@
<div class='buttons'>
<input type="text" id="search" placeholder="{% trans %}Search{% endtrans %}">
{% if mod %}
<input type="submit" name="unban" id="unban" value="{% trans 'Unban selected' %}">
<input type="submit" name="unban" id="unban" onclick="return confirm('Are you sure you want to unban the selected IPs?');" value="{% trans 'Unban selected' %}">
{% endif %}
</div>