Fix #1232 allow multiple auth attempts in a configured time

This commit is contained in:
Kijin Sung 2020-03-23 21:20:26 +09:00
parent 3bccc9ff2d
commit ecd8cd3ded
6 changed files with 41 additions and 6 deletions

View file

@ -20,6 +20,19 @@
<p class="x_help-block">{$lang->about_enable_confirm}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->cmd_authmail_expires}</label>
<div class="x_controls">
<input type="number" name="authmail_expires" value="{$config->authmail_expires ?: 1}" />
<select name="authmail_expires_unit" style="width:auto;min-width:0">
<option value="86400" selected="selected"|cond="$config->authmail_expires_unit == 86400">{$lang->unit_day}</option>
<option value="3600" selected="selected"|cond="$config->authmail_expires_unit == 3600">{$lang->unit_hour}</option>
<option value="60" selected="selected"|cond="$config->authmail_expires_unit == 60">{$lang->unit_min}</option>
<option value="1" selected="selected"|cond="$config->authmail_expires_unit == 1">{$lang->unit_sec}</option>
</select>
<p class="x_help-block">{$lang->about_authmail_expires}</p>
</div>
</div>
<div class="x_control-group">
<div class="x_control-label">{$lang->cmd_member_profile_view}</div>
<div class="x_controls">