mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Made use of AMT user/pass provided by MeshCMD in amtconfig.
This commit is contained in:
parent
7b6fbaf107
commit
ab85ec9a3d
2 changed files with 11 additions and 6 deletions
|
@ -600,8 +600,8 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) {
|
|||
}
|
||||
if (obj.parent.webserver.meshes[cookie.m] == null) {
|
||||
meshNotFoundCount++;
|
||||
socket.ControlMsg({ action: 'console', msg: 'Device group not found' });
|
||||
parent.debug('mps', 'Device group not found', username, password);
|
||||
socket.ControlMsg({ action: 'console', msg: 'Device group not found (1)' });
|
||||
parent.debug('mps', 'Device group not found (1)', username, password);
|
||||
SendUserAuthFail(socket);
|
||||
return -1;
|
||||
}
|
||||
|
@ -645,8 +645,8 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) {
|
|||
}
|
||||
if (mesh == null) {
|
||||
meshNotFoundCount++;
|
||||
socket.ControlMsg({ action: 'console', msg: 'Device group not found' });
|
||||
parent.debug('mps', 'Device group not found', username, password);
|
||||
socket.ControlMsg({ action: 'console', msg: 'Device group not found (2)' });
|
||||
parent.debug('mps', 'Device group not found (2)', username, password);
|
||||
SendUserAuthFail(socket);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue