diff options
author | Khaksar Weqar <wkhaksar1@gmail.com> | 2021-11-05 09:04:44 +0100 |
---|---|---|
committer | Khaksar Weqar <wkhaksar1@gmail.com> | 2021-11-05 09:04:44 +0100 |
commit | c370aa660d216980a0c8f52ca856b4116ff5ca23 (patch) | |
tree | a1cb0654ae02dcee58f5fda8c524604163b00fcb /src/main/java/org/traccar/api/resource | |
parent | 7d5a18e6fd2b798873a719b361c9a7a61a236d6b (diff) | |
download | trackermap-server-c370aa660d216980a0c8f52ca856b4116ff5ca23.tar.gz trackermap-server-c370aa660d216980a0c8f52ca856b4116ff5ca23.tar.bz2 trackermap-server-c370aa660d216980a0c8f52ca856b4116ff5ca23.zip |
resolved-gradle-check-errors
Diffstat (limited to 'src/main/java/org/traccar/api/resource')
-rw-r--r-- | src/main/java/org/traccar/api/resource/PasswordResource.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/api/resource/PasswordResource.java b/src/main/java/org/traccar/api/resource/PasswordResource.java index 79d675434..1868a6191 100644 --- a/src/main/java/org/traccar/api/resource/PasswordResource.java +++ b/src/main/java/org/traccar/api/resource/PasswordResource.java @@ -53,7 +53,8 @@ public class PasswordResource extends BaseResource { 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; } |