mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
check msghandle for messaging
This commit is contained in:
parent
f1c2e307dc
commit
3de12093c6
@ -644,7 +644,7 @@ module.exports.CreateServer = function (parent) {
|
||||
|
||||
// Get the user and domain
|
||||
const user = parent.webserver.users[userid];
|
||||
if ((user == null) || (user.email == null) || (user.emailVerified !== true)) return;
|
||||
if ((user == null) || (user.msghandle == null)) return;
|
||||
const domain = obj.parent.config.domains[user.domain];
|
||||
if (domain == null) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user