1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed email notifications.

This commit is contained in:
Ylian Saint-Hilaire 2021-10-18 17:52:36 -07:00
parent b2eecfb993
commit 860f7b97c0
2 changed files with 16 additions and 3 deletions

View file

@ -2107,7 +2107,7 @@ function CreateMeshCentralServer(config, args) {
// Check if any user needs email notification
for (var i in users) {
const user = obj.webserver.users[i];
const user = obj.webserver.users[users[i]];
if ((user != null) && (user.email != null) && (user.emailVerified == true)) {
var notify = 0;