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:
parent
b2eecfb993
commit
860f7b97c0
2 changed files with 16 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue