1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

Allow config.mod.bypass_field_disable to bypass config.field_email_selectbox

This commit is contained in:
8chan 2015-02-16 16:33:52 -08:00
parent eb6855ca8b
commit 3f23a7f041

View File

@ -25,7 +25,7 @@
{{ antibot.html() }}
</th>
<td>
{% if config.field_email_selectbox %}
{% if config.field_email_selectbox and not (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}
<select name="email" id="email_selectbox" autocomplete="off">
<option value=""></option>
<option value="sage">sage</option>