|
|
|
@ -254,11 +254,10 @@ public class AcntCstmrService {
|
|
|
|
|
PtyCstmrBas userEntity = ptyCstmrBasRepository.findById(userId).orElse(null); |
|
|
|
|
|
|
|
|
|
// 3. RQ의 유저 패스워드를 암호화 처리
|
|
|
|
|
if(!userPswd.isEmpty() && userPswd != null){ |
|
|
|
|
if(userPswd != null && !userPswd.isEmpty()){ |
|
|
|
|
userPswd = EncryptUtils.sha256Encrypt(userPswd); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 4. RQ의 암호화한 패스워드와 DB에서 조회한 유저의 패스워드랑 비교
|
|
|
|
|
if(!userPswd.equals(userEntity.getUserPswd())) { |
|
|
|
|
log.info("USERPSWD 비밀번호 : {}, DB 비밀번호 : {}", userPswd, userEntity.getUserPswd()); |
|
|
|
|