diff options
author | wkhaksar <31837615+wkhaksar@users.noreply.github.com> | 2021-11-04 17:31:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 17:31:48 +0100 |
commit | 55f7d7ab29772267e49489993a978c4eb83f3fe4 (patch) | |
tree | 1eab08c9ce1b84d57c100d6daea0ba0945a3a46e /src/main/java/org/traccar/api/resource | |
parent | 0cb463258cf282036db6fdf3e08a50dc189a154b (diff) | |
download | trackermap-server-55f7d7ab29772267e49489993a978c4eb83f3fe4.tar.gz trackermap-server-55f7d7ab29772267e49489993a978c4eb83f3fe4.tar.bz2 trackermap-server-55f7d7ab29772267e49489993a978c4eb83f3fe4.zip |
Update src/main/java/org/traccar/api/resource/PasswordResource.java
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
Diffstat (limited to 'src/main/java/org/traccar/api/resource')
-rw-r--r-- | src/main/java/org/traccar/api/resource/PasswordResource.java | 2 |
1 files changed, 1 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 74cb7ca34..79d675434 100644 --- a/src/main/java/org/traccar/api/resource/PasswordResource.java +++ b/src/main/java/org/traccar/api/resource/PasswordResource.java @@ -53,7 +53,7 @@ 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; } |