mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-30 03:16:12 +03:00
Merge pull request #2806 from nzalev/fix-2763
Fix undeclared variable (#2763)
This commit is contained in:
commit
51de8dd1b1
@ -327,7 +327,7 @@ module.exports.CreateAmtRedirect = function (module, domain, user, webserver, me
|
|||||||
var status = obj.amtaccumulator.charCodeAt(1);
|
var status = obj.amtaccumulator.charCodeAt(1);
|
||||||
var authType = obj.amtaccumulator.charCodeAt(4);
|
var authType = obj.amtaccumulator.charCodeAt(4);
|
||||||
var authData = [];
|
var authData = [];
|
||||||
for (i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); }
|
for (var i = 0; i < authDataLen; i++) { authData.push(obj.amtaccumulator.charCodeAt(9 + i)); }
|
||||||
var authDataBuf = obj.amtaccumulator.substring(9, 9 + authDataLen);
|
var authDataBuf = obj.amtaccumulator.substring(9, 9 + authDataLen);
|
||||||
cmdsize = 9 + authDataLen;
|
cmdsize = 9 + authDataLen;
|
||||||
if (authType == 0) {
|
if (authType == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user