본인인증 : 본인이아닌 타인이 인증할때 명의가 변경되지 못하게 수정
This commit is contained in:
@ -151,6 +151,11 @@ if( $cert_enc_use == "Y" )
|
||||
$phone_no = hyphen_hp_number($phone_no);
|
||||
$mb_dupinfo = md5($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);
|
||||
if (!empty($row['mb_id'])) {
|
||||
|
||||
Reference in New Issue
Block a user