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;