We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff5587 commit 31f9ebaCopy full SHA for 31f9eba
src/main/java/com/joaov1ct0r/restful_api_users_java/modules/users/services/ResetPasswordService.java
@@ -38,6 +38,7 @@ public void execute(ResetPasswordDTO resetPasswordDTO) throws Exception {
38
String newUserPassword = this.generator.generateRandomPassword(9);
39
userToUpdate.setPassword(newUserPassword);
40
this.userRepository.save(userToUpdate);
41
+
42
this.emailService.sendMail(
43
userToUpdate.getEmail(),
44
"Password Updated",
0 commit comments