통합인증 : 코드정리
This commit is contained in:
@ -795,7 +795,7 @@ if(!empty($extend_file) && is_array($extend_file)) {
|
|||||||
}
|
}
|
||||||
unset($extend_file);
|
unset($extend_file);
|
||||||
|
|
||||||
if(!$is_admin && $is_member && (!defined("G5_CERT_IN_PROG") || !G5_CERT_IN_PROG) && $config['cf_cert_use'] <> 0 && $config['cf_cert_req']) { // 본인인증이 필수일때
|
if($is_member && !$is_admin && (!defined("G5_CERT_IN_PROG") || !G5_CERT_IN_PROG) && $config['cf_cert_use'] <> 0 && $config['cf_cert_req']) { // 본인인증이 필수일때
|
||||||
if ((empty($member['mb_certify']) || (!empty($member['mb_certify']) && strlen($member['mb_dupinfo']) == 64))) { // di로 인증되어 있거나 본인인증이 안된 계정일때
|
if ((empty($member['mb_certify']) || (!empty($member['mb_certify']) && strlen($member['mb_dupinfo']) == 64))) { // di로 인증되어 있거나 본인인증이 안된 계정일때
|
||||||
goto_url(G5_BBS_URL."/member_cert_refresh.php");
|
goto_url(G5_BBS_URL."/member_cert_refresh.php");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -135,7 +135,6 @@ define('G5_PHPMAILER_PATH', G5_PLUGIN_PATH.'/'.G5_PHPMAILER_DIR);
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
define('G5_SET_DEVICE', 'both');
|
define('G5_SET_DEVICE', 'both');
|
||||||
|
|
||||||
// define('G5_CERT_IN_PROG', false); // 재인증페이지 리디렉션 사용여부
|
|
||||||
define('G5_USE_MOBILE', true); // 모바일 홈페이지를 사용하지 않을 경우 false 로 설정
|
define('G5_USE_MOBILE', true); // 모바일 홈페이지를 사용하지 않을 경우 false 로 설정
|
||||||
define('G5_USE_CACHE', true); // 최신글등에 cache 기능 사용 여부
|
define('G5_USE_CACHE', true); // 최신글등에 cache 기능 사용 여부
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
if($res_data['resultCode'] === "0000") {
|
if($res_data['resultCode'] === "0000") {
|
||||||
|
|
||||||
@insert_cert_history('@password_lost@', 'kg', 'sa'); // 인증성공 시 내역 기록
|
@insert_cert_history($member['mb_id'], 'kg', 'sa'); // 인증성공 시 내역 기록
|
||||||
|
|
||||||
$cert_type = 'sa'; // 인증타입
|
$cert_type = 'sa'; // 인증타입
|
||||||
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
|
$cert_no = $res_data['txId']; // 이니시스 트랜잭션 ID
|
||||||
|
|||||||
Reference in New Issue
Block a user