Skip to content

Commit

Permalink
fixed ChangePasswordService.sendEmailToRestorePassword
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladik-gif committed Oct 25, 2024
1 parent 96f8979 commit 2062efe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public void sendEmailToRestorePassword(String email, String clientHost) {

emailTokenRepository.save(emailToken);

var emailMessageInfo = new EmailMessageInfoDto(contact.getNickname(),
var emailMessageInfo = new EmailMessageInfoDto(
contact.getNickname(),
contact.getEmail(),
emailToken.getToken(),
clientHost,
EmailMessageType.RESTORE_PASSWORD);
var emailMessage = emailMessageFactoryService.generateEmailMessage(emailMessageInfo);
Expand Down

0 comments on commit 2062efe

Please sign in to comment.