Skip to content

Commit

Permalink
Merge pull request #89 from EWHA-LUX/fix/#88
Browse files Browse the repository at this point in the history
fix: ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ณ€๊ฒฝ ์˜ค๋ฅ˜ ์ˆ˜์ • (#88)
  • Loading branch information
jiminnee authored May 5, 2024
2 parents 43e7c02 + 8d96b39 commit 58834e0
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 58834e0

Please sign in to comment.