mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-08 21:24:53 -05:00
Fixed email notifications.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user