
--- src/main/java/com/takensoft/cms/mber/service/Impl/UnifiedLoginServiceImpl.java
+++ src/main/java/com/takensoft/cms/mber/service/Impl/UnifiedLoginServiceImpl.java
... | ... | @@ -376,7 +376,8 @@ |
376 | 376 |
// 2-1. 기존 계정 있음 - 해당 소셜이 이미 연동되어 있는지 확인 |
377 | 377 |
HashMap<String, Object> params = new HashMap<>(); |
378 | 378 |
params.put("mbrId", existingUser.getMbrId()); |
379 |
- params.put("lgnOffrType", convertProviderToMbrType(lgnOffrType)); |
|
379 |
+// params.put("lgnOffrType", convertProviderToMbrType(lgnOffrType)); // 25.06.23 - 소셜 영문명(google)이 아닌 코드(G)로 들어와서 변환 시도 시 default인 'S'로 변경됨 |
|
380 |
+ params.put("lgnOffrType", lgnOffrType); |
|
380 | 381 |
|
381 | 382 |
MberSocialAccountVO existingSocial = mberDAO.findSocialAccountByProvider(params); |
382 | 383 |
|
... | ... | @@ -472,7 +473,8 @@ |
472 | 473 |
// 중복 연동 확인 |
473 | 474 |
HashMap<String, Object> params = new HashMap<>(); |
474 | 475 |
params.put("mbrId", mbrId); |
475 |
- params.put("lgnOffrType", convertProviderToMbrType(lgnOffrType)); |
|
476 |
+// params.put("lgnOffrType", convertProviderToMbrType(lgnOffrType)); // 25.06.23 - 소셜 영문명(google)이 아닌 코드(G)로 들어와서 변환 시도 시 default인 'S'로 변경됨 |
|
477 |
+ params.put("lgnOffrType", lgnOffrType); |
|
476 | 478 |
|
477 | 479 |
MberSocialAccountVO existing = mberDAO.findSocialAccountByProvider(params); |
478 | 480 |
if (existing != null && existing.getLinkVtlzYn()) { |
... | ... | @@ -481,7 +483,8 @@ |
481 | 483 |
|
482 | 484 |
MberSocialAccountVO socialAccount = new MberSocialAccountVO(); |
483 | 485 |
socialAccount.setMbrId(mbrId); |
484 |
- socialAccount.setLgnOffrType(convertProviderToMbrType(lgnOffrType)); |
|
486 |
+// socialAccount.setLgnOffrType(convertProviderToMbrType(lgnOffrType)); // 25.06.23 - 소셜 영문명(google)이 아닌 코드(G)로 들어와서 변환 시도 시 default인 'S'로 변경됨 |
|
487 |
+ socialAccount.setLgnOffrType(lgnOffrType); |
|
485 | 488 |
socialAccount.setSnsLgnId(snsLgnId); |
486 | 489 |
socialAccount.setLgnId(lgnId); |
487 | 490 |
socialAccount.setSnsEml(email); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?