diff --git a/js/certify.js b/js/certify.js index 2c3eb2c8b..a28e55526 100644 --- a/js/certify.js +++ b/js/certify.js @@ -19,7 +19,10 @@ function certify_win_open(type, url, event) { if($("input[name=veri_up_hash]").length < 1) $("input[name=cert_no]").after(''); - if( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) + // iframe에서 세션공유 문제가 있어서 더 이상 iframe 을 사용하지 않습니다. + var use_iframe = false; + + if(use_iframe && (navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1)) { var $frm = $(event.target.form); diff --git a/mobile/skin/member/basic/password_lost.skin.php b/mobile/skin/member/basic/password_lost.skin.php index e9e40bcd8..f33b720c9 100644 --- a/mobile/skin/member/basic/password_lost.skin.php +++ b/mobile/skin/member/basic/password_lost.skin.php @@ -12,6 +12,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin
+

이메일로 찾기

diff --git a/plugin/kcpcert/find_kcpcert_result.php b/plugin/kcpcert/find_kcpcert_result.php index a882cbb82..0b3f78a02 100644 --- a/plugin/kcpcert/find_kcpcert_result.php +++ b/plugin/kcpcert/find_kcpcert_result.php @@ -211,14 +211,17 @@ $ct_cert->mf_clear(); var $opener = window.opener; var is_mobile = false; - $opener.name="parentPage"; + $opener.name="parentPage"; + // 안드로이드 웹뷰에서 거의 다 새창을 지원하므로 더 이상 iframe 을 사용하지 않습니다. + /* if (typeof g5_is_mobile != "undefined" && g5_is_mobile ) { $opener = window.parent; is_mobile = true; } else { $opener = window.opener; } + */ // up_hash 검증 if( document.mbFindForm.up_hash.value != $opener.$("input[name=veri_up_hash]").val() ) { diff --git a/plugin/kcpcert/kcpcert_form.php b/plugin/kcpcert/kcpcert_form.php index 628f70a79..400c0e3a5 100644 --- a/plugin/kcpcert/kcpcert_form.php +++ b/plugin/kcpcert/kcpcert_form.php @@ -116,17 +116,17 @@ window.onload = function() { function cert_page() { var frm = document.form_auth; + // iframe에서 세션공유 문제가 있어서 더 이상 iframe 을 사용하지 않습니다. + var use_iframe = false; if ( ( frm.req_tx.value == "auth" || frm.req_tx.value == "otp_auth" ) ) { frm.action="."; - // MOBILE - if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) + if(use_iframe && ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) { self.name="kcp_cert"; } - // PC else { frm.target="kcp_cert"; @@ -139,12 +139,12 @@ function cert_page() else if ( frm.req_tx.value == "cert" ) { - if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) // 스마트폰인 경우 + if(use_iframe && ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) { window.parent.$("input[name=veri_up_hash]").val(frm.up_hash.value); // up_hash 데이터 검증을 위한 필드 self.name="auth_popup"; } - else // 스마트폰 아닐때 + else { window.opener.$("input[name=veri_up_hash]").val(frm.up_hash.value); // up_hash 데이터 검증을 위한 필드 frm.target = "auth_popup"; diff --git a/plugin/kcpcert/kcpcert_result.php b/plugin/kcpcert/kcpcert_result.php index 2b8816327..20828257c 100644 --- a/plugin/kcpcert/kcpcert_result.php +++ b/plugin/kcpcert/kcpcert_result.php @@ -211,8 +211,10 @@ $ct_cert->mf_clear(); $(function() { var $opener; var is_mobile = false; + // iframe에서 세션공유 문제가 있어서 더 이상 iframe 을 사용하지 않습니다. + var use_iframe = false; - if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) { // 스마트폰인 경우 + if(use_iframe && ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) { $opener = window.parent; is_mobile = true; } else { diff --git a/skin/member/basic/password_lost.skin.php b/skin/member/basic/password_lost.skin.php index 97fc852cb..04f12ce71 100644 --- a/skin/member/basic/password_lost.skin.php +++ b/skin/member/basic/password_lost.skin.php @@ -12,6 +12,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin

+

이메일로 찾기

diff --git a/theme/basic/mobile/skin/member/basic/password_lost.skin.php b/theme/basic/mobile/skin/member/basic/password_lost.skin.php index 97fc852cb..04f12ce71 100644 --- a/theme/basic/mobile/skin/member/basic/password_lost.skin.php +++ b/theme/basic/mobile/skin/member/basic/password_lost.skin.php @@ -12,6 +12,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin

+

이메일로 찾기

diff --git a/theme/basic/skin/member/basic/password_lost.skin.php b/theme/basic/skin/member/basic/password_lost.skin.php index 97fc852cb..04f12ce71 100644 --- a/theme/basic/skin/member/basic/password_lost.skin.php +++ b/theme/basic/skin/member/basic/password_lost.skin.php @@ -12,6 +12,7 @@ if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin

+

이메일로 찾기