발송내역 수정

This commit is contained in:
USER
2022-07-28 17:16:59 +09:00
parent d5bf4444a3
commit f3fb920b35
7 changed files with 191 additions and 180 deletions

View File

@@ -95,7 +95,7 @@ public class CustMgtService {
@Value("${msghubez.homepage-url:https://mhez.uplus.co.kr}")
private String mailTempleteHomeUrl;
@Value("${msghubez.uri.homepageLogin: /auth/bo}")
@Value("${msghubez.uri.homepageLogin:/auth/bo}")
private String loginUri;
@Value("${msghubez.authKey: bohubez!@#$%}")

View File

@@ -296,7 +296,12 @@ public class LoginService {
}
String newPw = EncryptionUtil.getCustomSHA512(updatePasswordReqDto.getUserId(), updatePasswordReqDto.getNewPw());
String oldPw = user.getPwd();
if(oldPw.equals(newPw)) {
return new UpdatePasswordResDto(ApiResponseCode.CE_FAILED_TO_PW_CHANGE);
}
// 2. 비밀번호 변경 - update EZ_ADM_USER (비밀번호, 비밀번호변경일시)
AuthUser authUser = new AuthUser();
authUser.setOprtrId(updatePasswordReqDto.getUserId());