Skip to content

Commit

Permalink
fix: 비밀번호 변경 오류 수정 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiminnee committed May 5, 2024
1 parent 43e7c02 commit 8d96b39
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public boolean postCheckPassword(Users nowUser, ChangePasswordDto checkPasswordR

public String patchChangePassword(Users nowUser, ChangePasswordDto changePasswordDto) throws CustomException {
nowUser.updatePassword(passwordEncoder.encode(changePasswordDto.getPassword()));
usersRepository.save(nowUser);
return ResponseCode.CHANGE_PW_SUCCESS.getMessage();
}

Expand Down

0 comments on commit 8d96b39

Please sign in to comment.