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

Added agent connection cert checking.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-15 00:32:02 -08:00
parent 4e51a63d71
commit 0194292e84
2 changed files with 8 additions and 10 deletions

View file

@ -1331,13 +1331,10 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
// Add server TLS cert hash
var tlsCertHash = null;
// TODO: Once new mesh agents seem to work, re-enable this.
/*
if (parent.parent.args.ignoreagenthashcheck !== true) {
tlsCertHash = parent.webCertificateFullHashs[domain.id];
if (tlsCertHash != null) { command.servertlshash = Buffer.from(tlsCertHash, 'binary').toString('hex'); }
}
*/
// Add user consent messages
command.soptions = {};