This commit is contained in:
parent
0da699af92
commit
b0e6a6508f
|
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
function goHome() {
|
||||
if (capResult.code > 0) {
|
||||
location.href = "https://www.ynicte.com";
|
||||
location.href = "https://www.ynicte.nptc.kr";
|
||||
}
|
||||
}
|
||||
function goIndex() {
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
gapi.load('auth2', function () {var gauth = gapi.auth2.init({client_id: "@googleClientId", scope: 'profile'});gauth.then(function () {console.log('google init success');}, function () {console.error('google init fail');})});
|
||||
}
|
||||
|
||||
var naverLogin = new naver.LoginWithNaverId({clientId: "@naverClientId",callbackUrl: "https://www.ynicte.com/Account/NaverCallback",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId", callbackUrl: "https://www.ynicte.nptc.kr/Account/NaverCallback",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
|
||||
|
||||
function loginWithKakao() {
|
||||
Kakao.Auth.login({
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ else
|
|||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId",
|
||||
callbackUrl: "https://www.ynicte.com/Account/Join?jointype=2",
|
||||
callbackUrl: "https://www.ynicte.nptc.kr/Account/Join?jointype=2",
|
||||
isPopup: false,
|
||||
callbackHandle: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
function googleInit() {gapi.load('auth2', function () {var gauth = gapi.auth2.init({client_id: "@googleClientId",scope: 'profile'});gauth.then(function () {console.log('google init success');}, function () {console.error('google init fail');})});}
|
||||
|
||||
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId",callbackUrl: "https://www.ynicte.com/Account/NaverCallbackJoin",isPopup: true, loginButton: { color: "green", type: 3, height: 60 }});
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId", callbackUrl: "https://www.ynicte.nptc.kr/Account/NaverCallbackJoin",isPopup: true, loginButton: { color: "green", type: 3, height: 60 }});
|
||||
|
||||
function loginWithKakao() {
|
||||
Kakao.Auth.login({
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
}
|
||||
function goHome() {
|
||||
if (capResult.code > 0) {
|
||||
location.href = "https://www.ynicte.com";
|
||||
location.href = "https://www.ynicte.nptc.kr";
|
||||
}
|
||||
}
|
||||
function goIndex() {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId", //개발자센터에 등록한 ClientID
|
||||
callbackUrl: "https://www.ynicte.com/Account/NaverCallback",//개발자센터에 등록한 callback Url
|
||||
callbackUrl: "https://www.ynicte.nptc.kr/Account/NaverCallback",//개발자센터에 등록한 callback Url
|
||||
isPopup: false, /* 팝업을 통한 연동처리 여부 */
|
||||
callbackHandle: true
|
||||
/* callback 페이지가 분리되었을 경우에 callback 페이지에서는 callback처리를 해줄수 있도록 설정합니다. */
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
}
|
||||
function goHome() {
|
||||
if (capResult.code > 0) {
|
||||
opener.location.href = "https://www.ynicte.com";
|
||||
opener.location.href = "https://www.ynicte.nptc.kr";
|
||||
self.close();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId",
|
||||
callbackUrl: "https://www.ynicte.com/Account/NaverCallbackJoin",
|
||||
callbackUrl: "https://www.ynicte.nptc.kr/Account/NaverCallbackJoin",
|
||||
isPopup: false,
|
||||
callbackHandle: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId",
|
||||
callbackUrl: "https://www.ynicte.com/Account/SNSLinkCallback",
|
||||
callbackUrl: "https://www.ynicte.nptc.kr/Account/SNSLinkCallback",
|
||||
isPopup: false,
|
||||
callbackHandle: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@
|
|||
function googleInit() {
|
||||
gapi.load('auth2', function () {var gauth = gapi.auth2.init({client_id: "@googleClientId", scope: 'profile'});gauth.then(function () {console.log('google init success');}, function () {console.error('google init fail');})});
|
||||
}
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId", callbackUrl: "https://www.ynicte.com/Account/SNSLinkCallback?jointype=2",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId", callbackUrl: "https://www.ynicte.nptc.kr/Account/SNSLinkCallback?jointype=2",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
|
||||
|
||||
function loginWithKakao() {
|
||||
Kakao.Auth.login({
|
||||
|
|
|
|||
Loading…
Reference in New Issue