diff --git a/FO/Views/Account/GoogleCallback.cshtml b/FO/Views/Account/GoogleCallback.cshtml index bd32a95..cce5fc3 100644 --- a/FO/Views/Account/GoogleCallback.cshtml +++ b/FO/Views/Account/GoogleCallback.cshtml @@ -34,7 +34,9 @@ location.href = "https://www.ynicte.com/Account/Join?jointype=1"; } function goHome() { - location.href = "https://www.ynicte.com"; + if (capResult.code > 0) { + location.href = "https://www.ynicte.com"; + } } function goIndex() { location.href = "https://www.ynicte.com/Account/Index"; diff --git a/FO/Views/Account/KakaoCallback.cshtml b/FO/Views/Account/KakaoCallback.cshtml index 19dc5f1..e61c08b 100644 --- a/FO/Views/Account/KakaoCallback.cshtml +++ b/FO/Views/Account/KakaoCallback.cshtml @@ -44,7 +44,9 @@ location.href = "https://www.ynicte.com/Account/Join?jointype=3"; } function goHome() { - location.href = "https://www.ynicte.com"; + if (capResult.code > 0) { + location.href = "https://www.ynicte.com"; + } } function goIndex() { location.href = "https://www.ynicte.com/Account/Index"; diff --git a/FO/Views/Account/NaverCallback.cshtml b/FO/Views/Account/NaverCallback.cshtml index 8278c56..571d4cf 100644 --- a/FO/Views/Account/NaverCallback.cshtml +++ b/FO/Views/Account/NaverCallback.cshtml @@ -74,8 +74,10 @@ self.close(); } function goHome() { - opener.location.href = "https://www.ynicte.com"; - self.close(); + if (capResult.code > 0) { + opener.location.href = "https://www.ynicte.com"; + self.close(); + } } function goIndex() { opener.location.href = "https://www.ynicte.com/Account/Index";