1
0
Fork 0
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:
Ylian Saint-Hilaire 2022-01-23 00:34:47 -08:00
parent 7fe8766314
commit 0817690eef
2 changed files with 11 additions and 5 deletions

View file

@ -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];