aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/api/resource
diff options
context:
space:
mode:
authorKhaksar Weqar <wkhaksar1@gmail.com>2021-11-05 09:04:44 +0100
committerKhaksar Weqar <wkhaksar1@gmail.com>2021-11-05 09:04:44 +0100
commitc370aa660d216980a0c8f52ca856b4116ff5ca23 (patch)
treea1cb0654ae02dcee58f5fda8c524604163b00fcb /src/main/java/org/traccar/api/resource
parent7d5a18e6fd2b798873a719b361c9a7a61a236d6b (diff)
downloadtrackermap-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.java3
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;
}