Fix #2285 hide resend auth mail form if email confirmation is not required

This commit is contained in:
Kijin Sung 2024-01-30 21:28:20 +09:00
parent bbcbe04838
commit a36d728ad9
2 changed files with 6 additions and 0 deletions

View file

@ -929,6 +929,7 @@ class MemberView extends Member
return;
}
Context::set('member_config', $this->member_config);
Context::set('identifier', $this->member_config->identifier);
Context::set('enable_find_account_question', 'N');

View file

@ -1,5 +1,6 @@
<include target="./common_header.html" />
<load target="filter/find_member_account.xml" />
<section>
<h1>{$lang->cmd_find_member_account_with_email}</h1>
<p>{$lang->about_find_member_account}</p>
@ -21,6 +22,8 @@
</div>
</form>
</section>
<!--@if($member_config->enable_confirm === 'Y')-->
<hr>
<section>
<h1>{$lang->cmd_resend_auth_mail}</h1>
@ -42,4 +45,6 @@
</div>
</form>
</section>
<!--@endif-->
<include target="./common_footer.html" />