카카오 로그인 작업 개선

This commit is contained in:
2018-09-09 21:16:44 +09:00
parent 1596269848
commit 75619befef
9 changed files with 32 additions and 12 deletions
+8
View File
@@ -134,6 +134,14 @@ if ($me['code']< 0) {
]);
}
if(!($kakao_account['has_email']??false)){
Json::die([
'result'=>false,
'reqOTP'=>false,
'reason'=>'이메일 정보 공유를 허가해 주셔야 합니다.',
]);
}
$validEmail = $kakao_account['is_email_valid']??false;
$verifiedEmail = $kakao_account['is_email_verified']??false;