mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 19:09:49 +09:00
임시 비밀번호 발급 문자 수정 및 비밀번호 초기화 오류 수정
This commit is contained in:
@@ -63,6 +63,11 @@ const updateAuth = (params) => {
|
||||
return httpClient.post('/api/v1/bo/sysMgt/updateAuth', params, { withCredentials: false });
|
||||
}
|
||||
|
||||
// 비밀번호 초기화
|
||||
const resetPassword = (params) => {
|
||||
return httpClient.post('/api/v1/bo/login/resetPassword', params, { withCredentials: false });
|
||||
}
|
||||
|
||||
export default {
|
||||
insertAdmin,
|
||||
updateAdmin,
|
||||
@@ -77,5 +82,5 @@ export default {
|
||||
authDetail,
|
||||
insertAuth,
|
||||
updateAuth,
|
||||
|
||||
resetPassword
|
||||
}
|
||||
|
||||
@@ -343,9 +343,8 @@ public class LoginService {
|
||||
String clientKey = DateUtils.date2strYMDHMS() + "AD" + RandomStringUtils.randomAlphanumeric(8);
|
||||
SendMsgDto sendMsgDto = new SendMsgDto();
|
||||
sendMsgDto.setClientKey(clientKey);
|
||||
sendMsgDto.setMsg("[LG U+] 메시지허브이지 임시 비밀번호 안내\n"
|
||||
+ "임시 비밀번호 " + randomPw + "\n"
|
||||
+ "※ 임시 비밀번호로 로그인한 후 보안을 위해 비밀번호를 반드시 변경해 주세요.");
|
||||
sendMsgDto.setMsg("[LG U+] 메시지허브이지 임시 비밀번호\n"+ randomPw + "\n※ 로그인후 비밀번호를 변경해 주세요.");
|
||||
|
||||
sendMsgDto.setPhone(user.getHpNo());
|
||||
sendMsgDto.setTableName(sendMsgTableName);
|
||||
loginMapper.insertSendMsg(sendMsgDto);
|
||||
|
||||
Reference in New Issue
Block a user