diff --git a/FO/Views/Account/IndexBase.cshtml b/FO/Views/Account/IndexBase.cshtml
index ea083e4..9f4ad3b 100644
--- a/FO/Views/Account/IndexBase.cshtml
+++ b/FO/Views/Account/IndexBase.cshtml
@@ -111,28 +111,10 @@
var gauth;
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');
- })
- });
+ 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.com/Account/NaverCallback",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
function loginWithKakao() {
Kakao.Auth.login({
diff --git a/FO/Views/Account/JoinTSel.cshtml b/FO/Views/Account/JoinTSel.cshtml
index 2f68f44..1be789b 100644
--- a/FO/Views/Account/JoinTSel.cshtml
+++ b/FO/Views/Account/JoinTSel.cshtml
@@ -33,30 +33,10 @@
snsInit();
});
var gauth;
- 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');
- })
- });
- }
+ 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.com/Account/NaverCallbackJoin",isPopup: true, loginButton: { color: "green", type: 3, height: 60 }});
function loginWithKakao() {
Kakao.Auth.login({