From 2506c8eef7310e14a3fef613b59fbbe4b7cf9224 Mon Sep 17 00:00:00 2001 From: hyunho Date: Fri, 27 Nov 2020 04:55:01 +0000 Subject: [PATCH] --- FO/Views/Account/GoogleCallback.cshtml | 4 +++- FO/Views/Account/KakaoCallback.cshtml | 4 +++- FO/Views/Account/NaverCallback.cshtml | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) 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";