Skip to content

Commit

Permalink
Update src/main/java/org/traccar/api/resource/PasswordResource.java
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Tananaev <[email protected]>
  • Loading branch information
wkhaksar and tananaev authored Nov 4, 2021
1 parent 0cb4632 commit 55f7d7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Response reset(@FormParam("email") String email) throws SQLException, Mes
Context.getUsersManager().updateItem(user);
VelocityContext velocityContext = TextTemplateFormatter.prepareContext(null);
velocityContext.put("token", token);
NotificationMessage fullMessage = TextTemplateFormatter.formatMessage(velocityContext, "passwordReset","full");
NotificationMessage fullMessage = TextTemplateFormatter.formatMessage(velocityContext, "passwordReset", "full");
Context.getMailManager().sendMessage(userId, fullMessage.getSubject(), fullMessage.getBody());
break;
}
Expand Down

0 comments on commit 55f7d7a

Please sign in to comment.