mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
reCAPTCHA 애드온을 로그인 폼에도 사용할 수 있도록 개선
This commit is contained in:
parent
07a4f57a6f
commit
a9175b1c9d
2 changed files with 16 additions and 0 deletions
|
|
@ -26,6 +26,18 @@
|
|||
<title xml:lang="ko">예</title>
|
||||
<title xml:lang="en">Yes</title>
|
||||
</options>
|
||||
<options value="N">
|
||||
<title xml:lang="ko">아니오</title>
|
||||
<title xml:lang="en">No</title>
|
||||
</options>
|
||||
</var>
|
||||
<var name="use_login" type="select">
|
||||
<title xml:lang="ko">로그인에 사용</title>
|
||||
<title xml:lang="en">Use on Login Form</title>
|
||||
<options value="Y">
|
||||
<title xml:lang="ko">예</title>
|
||||
<title xml:lang="en">Yes</title>
|
||||
</options>
|
||||
<options value="N">
|
||||
<title xml:lang="ko">아니오</title>
|
||||
<title xml:lang="en">No</title>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@ elseif ($addon_info->use_signup === 'Y' && preg_match('/^(?:disp|proc)Member(?:S
|
|||
{
|
||||
$enable_captcha = true;
|
||||
}
|
||||
elseif ($addon_info->use_login === 'Y' && preg_match('/^(?:disp|proc)MemberLogin(?:Form)?/i', $current_action))
|
||||
{
|
||||
$enable_captcha = true;
|
||||
}
|
||||
elseif ($addon_info->use_recovery === 'Y' && preg_match('/^(?:disp|proc)Member(?:FindAccount|ResendAuthMail)/i', $current_action))
|
||||
{
|
||||
$enable_captcha = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue