mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-12 02:46:37 +09:00
발송내역 수정
This commit is contained in:
@@ -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!@#$%}")
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user