mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 21:49:43 -05:00
Explicitly set canvas cursor to show up on remote desktop.
This commit is contained in:
@@ -1604,7 +1604,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
||||
// Generate a 8 digit integer with even random probability for each value.
|
||||
function getRandomEightDigitInteger() {
|
||||
var bigInt;
|
||||
do { bigInt = obj.parent.crypto.randomBytes(4).readUInt32BE(0); } while (bigInt > 4200000000);
|
||||
do { bigInt = obj.parent.crypto.randomBytes(4).readUInt32BE(0); } while (bigInt >= 4200000000);
|
||||
return bigInt % 100000000;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user