yujung 4 лет назад
Родитель
Сommit
e6b1075475

+ 5 - 4
src/main/java/com/style24/front/support/security/TsfAuthenticationProvider.java

@@ -112,10 +112,11 @@ public class TsfAuthenticationProvider implements AuthenticationProvider {
 			throw new TsfSecedeAccountException(message.getMessage("LOGN_0007"));
 		}
 		// 활동회원 중 본인인증이 필요한 회원
-		if (TscConstants.CustStat.ACTIVE.value().equals(loginInfo.getCustStat()) && StringUtils.isBlank(loginInfo.getCi())) {
-			TsfSession.setAttribute("custNo", String.valueOf(loginInfo.getCustNo()));
-			throw new TsfNonCertificationAccountException(message.getMessage("LOGN_0009"));
-		}
+//		2021.10.26 김유중 : ci 없는 회원이 본인 인증 시 실패가 많아서 로그인 처리로 변경(정지혜과장,전석훈차장 협의)
+//		if (TscConstants.CustStat.ACTIVE.value().equals(loginInfo.getCustStat()) && StringUtils.isBlank(loginInfo.getCi())) {
+//			TsfSession.setAttribute("custNo", String.valueOf(loginInfo.getCustNo()));
+//			throw new TsfNonCertificationAccountException(message.getMessage("LOGN_0009"));
+//		}
 
 		// 권한 설정
 		List<SimpleGrantedAuthority> authorities = new ArrayList<>();