diff --git a/FO/Views/Account/IndexBase.cshtml b/FO/Views/Account/IndexBase.cshtml
index de465ea..9ed1eea 100644
--- a/FO/Views/Account/IndexBase.cshtml
+++ b/FO/Views/Account/IndexBase.cshtml
@@ -122,13 +122,7 @@
Kakao.API.request({
url: '/v2/user/me',
success: function (res) {
- if (res.kakao_account.email == "" || res.kakao_account.email == null || res.kakao_account.email == undefined) {
- alert("이메일 제공 동의 후 이용하실 수 있습니다.");
- return;
- }
- else {
- location.href = "/Account/KakaoCallback";
- }
+ location.href = "/Account/KakaoCallback";
},
fail: function (error) {
alert(
diff --git a/FO/Views/Account/Join.cshtml b/FO/Views/Account/Join.cshtml
index 2f76262..732745b 100644
--- a/FO/Views/Account/Join.cshtml
+++ b/FO/Views/Account/Join.cshtml
@@ -285,13 +285,15 @@ else
url: '/v2/user/me',
success: function (res) {
$("#username").val(res.properties.nickname);
- $("#email").val(res.kakao_account.email);
+ if (res.kakao_account.email != null && res.kakao_account.email != "" && res.kakao_account.email != undefined) {
+ $("#email").val(res.kakao_account.email);
+ $("#email").prop("readonly", "readonly");
+ $("#email").css("background-color", "#ddd");
+ }
$("#snsid").val(res.id);
$("#jointype").val(3); //0:일반회원가입,1:google,2:naver,3:kakao
$("#username").prop("readonly", "readonly");
$("#username").css("background-color", "#ddd");
- $("#email").prop("readonly", "readonly");
- $("#email").css("background-color", "#ddd");
},
fail: function (error) {
console.log(error);
diff --git a/FO/Views/Account/JoinTSel.cshtml b/FO/Views/Account/JoinTSel.cshtml
index cb3ad61..34c65ed 100644
--- a/FO/Views/Account/JoinTSel.cshtml
+++ b/FO/Views/Account/JoinTSel.cshtml
@@ -44,13 +44,7 @@
Kakao.API.request({
url: '/v2/user/me',
success: function (res) {
- if (res.kakao_account.email == "" || res.kakao_account.email == null || res.kakao_account.email == undefined) {
- alert("이메일 제공 동의 후 이용하실 수 있습니다.");
- return;
- }
- else {
- location.href = "/Account/Join?jointype=3";
- }
+ location.href = "/Account/Join?jointype=3";
},
fail: function (error) {
alert(