Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haedoang committed Nov 21, 2023
1 parent 4847a8a commit f980f5d
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 f980f5d

Please sign in to comment.