Add option for password reset method

This commit is contained in:
Kijin Sung 2023-11-28 22:19:00 +09:00
parent b934b8638f
commit 5b3da67f29
4 changed files with 18 additions and 1 deletions

View file

@ -138,6 +138,14 @@
<p class="x_help-block">{$lang->about_password_change_invalidate_other_sessions}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->cmd_password_reset_method}</label>
<div class="x_controls">
<label for="password_reset_method_v2" class="x_inline"><input type="radio" name="password_reset_method" id="password_reset_method_v2" value="2" checked="checked"|cond="$config->password_reset_method == 2" /> {$lang->cmd_password_reset_method_v2}</label>
<label for="password_reset_method_v1" class="x_inline"><input type="radio" name="password_reset_method" id="password_reset_method_v1" value="1" checked="checked"|cond="$config->password_reset_method != 2" /> {$lang->cmd_password_reset_method_v1}</label>
<p class="x_help-block">{$lang->about_password_reset_method}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="member_sync">{$lang->cmd_member_sync}</label>
<div class="x_controls">