This commit is contained in:
hyunho 2020-12-16 04:39:57 +00:00
parent 1175fc49ce
commit 6fa99d3a68
6 changed files with 11 additions and 11 deletions

View File

@ -119,7 +119,7 @@
function loginWithKakao() { function loginWithKakao() {
Kakao.Auth.login({ Kakao.Auth.login({
success: function (authObj) { success: function (authObj) {
location.href = "https://www.ynicte.com/Account/KakaoCallback" location.href = "/Account/KakaoCallback"
}, },
fail: function (err) { fail: function (err) {
alert("카카오 아이디로 로그인에 실패했습니다."); alert("카카오 아이디로 로그인에 실패했습니다.");
@ -131,7 +131,7 @@
function loginWithGoogle() { function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance(); gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () { gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/GoogleCallback" location.href = "/Account/GoogleCallback"
}, function () { }, function () {
alert("구글 아이디로 로그인에 실패했습니다."); alert("구글 아이디로 로그인에 실패했습니다.");
return; return;

View File

@ -41,7 +41,7 @@
function loginWithKakao() { function loginWithKakao() {
Kakao.Auth.login({ Kakao.Auth.login({
success: function (authObj) { success: function (authObj) {
location.href = "https://www.ynicte.com/Account/Join?jointype=3"; location.href = "/Account/Join?jointype=3";
}, },
fail: function (err) { fail: function (err) {
alert("카카오 아이디로 회원가입에 실패했습니다."); alert("카카오 아이디로 회원가입에 실패했습니다.");
@ -56,7 +56,7 @@
function loginWithGoogle() { function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance(); gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () { gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/Join?jointype=1"; location.href = "/Account/Join?jointype=1";
}); });
} }

View File

@ -41,7 +41,7 @@
} }
} }
function goJoin() { function goJoin() {
location.href = "https://www.ynicte.com/Account/Join?jointype=3"; location.href = "/Account/Join?jointype=3";
} }
function goHome() { function goHome() {
if (capResult.code > 0) { if (capResult.code > 0) {
@ -49,7 +49,7 @@
} }
} }
function goIndex() { function goIndex() {
location.href = "https://www.ynicte.com/Account/Index"; location.href = "/Account/Index";
} }

View File

@ -70,7 +70,7 @@
} }
} }
function goJoin() { function goJoin() {
opener.location.href = "https://www.ynicte.com/Account/Join?jointype=2"; opener.location.href = "/Account/Join?jointype=2";
self.close(); self.close();
} }
function goHome() { function goHome() {
@ -80,7 +80,7 @@
} }
} }
function goIndex() { function goIndex() {
opener.location.href = "https://www.ynicte.com/Account/Index"; opener.location.href = "/Account/Index";
self.close(); self.close();
} }

View File

@ -14,7 +14,7 @@
$.when( $.when(
naverLogin.init() naverLogin.init()
).done(function () { ).done(function () {
opener.location.href = "https://www.ynicte.com/Account/Join?jointype=2"; opener.location.href = "/Account/Join?jointype=2";
self.close(); self.close();
}); });

View File

@ -331,7 +331,7 @@
function loginWithKakao() { function loginWithKakao() {
Kakao.Auth.login({ Kakao.Auth.login({
success: function (authObj) { success: function (authObj) {
location.href = "https://www.ynicte.com/Account/SNSLinkCallback?jointype=3" location.href = "/Account/SNSLinkCallback?jointype=3"
}, },
fail: function (err) { fail: function (err) {
alert("카카오 아이디로 로그인에 실패했습니다."); alert("카카오 아이디로 로그인에 실패했습니다.");
@ -343,7 +343,7 @@
function loginWithGoogle() { function loginWithGoogle() {
gauth = gapi.auth2.getAuthInstance(); gauth = gapi.auth2.getAuthInstance();
gauth.signIn().then(function () { gauth.signIn().then(function () {
location.href = "https://www.ynicte.com/Account/SNSLinkCallback?jointype=1" location.href = "/Account/SNSLinkCallback?jointype=1"
}, function () { }, function () {
alert("구글 아이디로 로그인에 실패했습니다."); alert("구글 아이디로 로그인에 실패했습니다.");
return; return;