mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed device notification email language translation, #3513
This commit is contained in:
parent
7fe8766314
commit
0817690eef
2 changed files with 11 additions and 5 deletions
|
@ -679,7 +679,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
|
|||
if (domain == null) return;
|
||||
|
||||
// Send the email
|
||||
obj.sendDeviceNotifyMail(domain, user.name, user.email, connections, disconnections, 'us-en', null);
|
||||
obj.sendDeviceNotifyMail(domain, user.name, user.email, connections, disconnections, user.llang, null);
|
||||
|
||||
// Clean up
|
||||
delete obj.deviceNotifications[userid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue