본인인증 : 본인이아닌 타인이 인증할때 명의가 변경되지 못하게 수정

This commit is contained in:
projectSylas
2022-01-05 01:50:57 +00:00
parent 9aa5d237a7
commit 8bdf80e38c
5 changed files with 25 additions and 8 deletions

View File

@ -88,6 +88,11 @@ if(!empty($field[1])) { // 아이핀은 리턴받는 ci 데이터가 두가지
}
$mb_dupinfo = md5($ci.$ci); // 통합인증 추가 후 ci로 변경
// 명의 변경 체크
if (!empty($member['mb_certify']) && !empty($member['mb_dupinfo']) && strlen($member['mb_dupinfo']) != 64) { // 이미 인증된 계정중에 dupinfo가 di(64 length)가 아닐때
if($member['mb_dupinfo'] != $mb_dupinfo) alert_close("해당 계정은 이미 다른명의로 본인인증 되어있는 계정입니다.");
}
// 중복정보 체크
$sql = " select mb_id from {$g5['member_table']} where mb_id <> '{$member['mb_id']}' and mb_dupinfo = '{$mb_dupinfo}' ";
$row = sql_fetch($sql);