Removed debug code.

Ylian Saint-Hilaire committed Sep 10, 2021 at 13:12 UTC 5899667918fcef6dffcde00ce1395b28dd5a46b4
1 file changed -1
meshcentral.js
-1
@@ -2767,7 +2767,6 @@ function CreateMeshCentralServer(config, args) {
2767 if ((docs.length > 0) && (docs[0].key != null) && (obj.args.logintokengen == null) && (docs[0].key.length >= 160)) {
2768 // Key is present, use it.
2769 obj.loginCookieEncryptionKey = Buffer.from(docs[0].key, 'hex');
2770 - console.log('obj.loginCookieEncryptionKey', obj.loginCookieEncryptionKey);
2770 func(obj.encodeCookie({ u: userid, a: 3 }, obj.loginCookieEncryptionKey));
2771 } else {
2772 // Key is not present, generate one.