From 7b3ef45300aadeea5b59170222b444ae7196a2c6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 9 Sep 2018 21:16:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=B4=EC=B9=B4=EC=98=A4=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EC=9E=91=EC=97=85=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 17 +++++++++++------ js/join.js | 2 +- js/login.js | 1 + oauth_kakao/index.php | 3 +++ oauth_kakao/j_check_OTP.php | 2 +- oauth_kakao/j_join_process.php | 8 ++++++++ oauth_kakao/j_login_oauth.php | 2 +- oauth_kakao/oauth.php | 7 +++++-- oauth_kakao/oauth_fail.html | 2 +- 9 files changed, 32 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index d3ddb6bd..ed2d54fa 100644 --- a/index.php +++ b/index.php @@ -100,6 +100,9 @@ function postOAuthResult(result){ if(result == 'join'){ window.location.href = 'oauth_kakao/join.php'; } + else if(result == 'req_email'){ + alert('이메일 정보 공유를 허가해 주셔야 합니다.'); + } else if(result == 'login'){ console.log('로그인모드'); if(oauthMode=='change_pw'){ @@ -194,14 +197,16 @@ function postOAuthResult(result){