회원정보찾기 : 이니시스통합인증 관련 수정

This commit is contained in:
projectSylas
2021-09-15 02:09:17 +00:00
parent 430e6d29e7
commit d48ff6cffe
3 changed files with 23 additions and 79 deletions

View File

@ -44,14 +44,11 @@
$md5_ci = md5($ci . $ci);
$phone_no = hyphen_hp_number($phone_no);
$mb_dupinfo = $md5_ci;
$row = sql_fetch("select * from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}'");
if (!$row['mb_id']) {
$row = sql_fetch("select * from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_name ='{$user_name}' and mb_birth='{$birth_day}' and mb_hp='{$phone_no}'");
if(!$row['mb_id']){
alert_close("인증하신 정보로 가입된 회원정보가 없습니다.");
exit;
}
$row = sql_fetch("select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}'"); // ci데이터로 찾음
if(!$row['mb_id']) { // ci로 등록된 계정이 없다면
alert_close("인증하신 정보로 가입된 회원정보가 없습니다.");
exit;
}
}else{
// 인증실패 curl의 인증실패 체크
@ -66,8 +63,8 @@
$g5['title'] = 'KG이니시스 통합인증 결과';
include_once(G5_PATH.'/head.sub.php');
?>
<form name="mbFindForm">
?>
<form name="mbFindForm" method="POST">
<input type="hidden" name="mb_id" value="<?php echo $row["mb_id"]; ?>">
</form>
<script>