mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Merge #1507 질문/답변을 통한 계정 찾기를 금지하는 옵션 추가 by kijin
* pr/1507: 비번찾기 질문/답변 항목은 공개 설정할 수 없도록 조치 질문/답변을 통한 계정 찾기가 허용되지 않은 경우 폼을 표시하지 않음 질문/답변을 통한 계정 찾기 허용 여부를 선택할 수 있도록 함 비번찾기 질문을 필수항목에서 제외
This commit is contained in:
commit
43a7226ff1
7 changed files with 51 additions and 6 deletions
|
|
@ -20,6 +20,14 @@
|
|||
<p class="x_help-block">{$lang->about_enable_confirm}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<div class="x_control-label">{$lang->enable_find_account_question}</div>
|
||||
<div class="x_controls">
|
||||
<label class="x_inline" for="enable_find_account_question_yes"><input type="radio" name="enable_find_account_question" id="enable_find_account_question_yes" value="Y" checked="checked"|cond="$config->enable_find_account_question == 'Y'" /> {$lang->cmd_yes}</label>
|
||||
<label class="x_inline" for="enable_find_account_question_no"><input type="radio" name="enable_find_account_question" id="enable_find_account_question_no" value="N" checked="checked"|cond="$config->enable_find_account_question != 'Y'"/> {$lang->cmd_no}</label>
|
||||
<p class="x_help-block">{$lang->about_enable_find_account_question}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<div class="x_control-label">{$lang->cmd_config_password_strength}</div>
|
||||
<div class="x_controls">
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ jQuery(function($){
|
|||
|
||||
suForm.find(':checkbox[name="usable_list[]"]').each(function(){
|
||||
var $i = $(this);
|
||||
if($i.val() == 'find_account_question') return;
|
||||
|
||||
$i.change(function(){
|
||||
changeTable($i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue