mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Removed debug code.
This commit is contained in:
parent
15d8f4b027
commit
5899667918
1 changed files with 0 additions and 1 deletions
|
@ -2767,7 +2767,6 @@ function CreateMeshCentralServer(config, args) {
|
|||
if ((docs.length > 0) && (docs[0].key != null) && (obj.args.logintokengen == null) && (docs[0].key.length >= 160)) {
|
||||
// Key is present, use it.
|
||||
obj.loginCookieEncryptionKey = Buffer.from(docs[0].key, 'hex');
|
||||
console.log('obj.loginCookieEncryptionKey', obj.loginCookieEncryptionKey);
|
||||
func(obj.encodeCookie({ u: userid, a: 3 }, obj.loginCookieEncryptionKey));
|
||||
} else {
|
||||
// Key is not present, generate one.
|
||||
|
|
Loading…
Reference in a new issue