Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
setter 어노테이션 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Mar 3, 2024
1 parent f8b64a2 commit 99bcb6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Mono<Void> nonLoggedInUser(ChangePasswordRequest request) {
private Mono<Void> changePasswordAndSaveUser(String newPassword, User user) {
return encodePassword(newPassword)
.flatMap(password -> {
user.changePassword(password);
user.setPassword(password);
return userRepository.save(user);
})
.onErrorMap(e -> ExecuteFailedException.EXCEPTION)
Expand Down

0 comments on commit 99bcb6d

Please sign in to comment.