diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-16 09:55:19 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-16 09:55:19 -0700 |
commit | d4816aae87600334fe798e8b50b9f11df6f0b293 (patch) | |
tree | 1882a5335a653a63136b795df6661d988d33d3e7 /src/main/java/org/traccar/api | |
parent | 5c0962c257d51bef081d25405c972dd54035a0b2 (diff) | |
download | trackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.tar.gz trackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.tar.bz2 trackermap-server-d4816aae87600334fe798e8b50b9f11df6f0b293.zip |
Option for system only emails
Diffstat (limited to 'src/main/java/org/traccar/api')
-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 2d87a8665..67c9cee97 100644 --- a/src/main/java/org/traccar/api/resource/PasswordResource.java +++ b/src/main/java/org/traccar/api/resource/PasswordResource.java @@ -63,7 +63,7 @@ public class PasswordResource extends BaseResource { if (user != null) { var velocityContext = textTemplateFormatter.prepareContext(permissionsService.getServer(), user); var fullMessage = textTemplateFormatter.formatMessage(velocityContext, "passwordReset", "full"); - mailManager.sendMessage(user, fullMessage.getSubject(), fullMessage.getBody()); + mailManager.sendMessage(user, true, fullMessage.getSubject(), fullMessage.getBody()); } return Response.ok().build(); } |