Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haedoang committed Nov 22, 2023
1 parent 65879b2 commit 7de5d72
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public User save(User user) {
}

@Override
@Transactional
public void setPassword(User user, String password) {
String encodedPassword = passwordEncoder.encode(password);
user.setPassword(encodedPassword);
Expand Down

0 comments on commit 7de5d72

Please sign in to comment.