1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-11-23 22:37:10 +02:00

docs: fix typo in server/modules/axios-ntlm/lib/hash.js (#6363)

Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Edge-Seven
2025-11-18 16:07:54 +07:00
committed by GitHub
parent 2e3b31716d
commit 357567c5b4

View File

@@ -82,7 +82,7 @@ function createNTLMv2Response(type2message, username, ntlmhash, nonce, targetNam
//reserved
buf.writeUInt32LE(0, 20);
//timestamp
//TODO: we are loosing precision here since js is not able to handle those large integers
//TODO: we are losing precision here since js is not able to handle those large integers
// maybe think about a different solution here
// 11644473600000 = diff between 1970 and 1601
var timestamp = ((Date.now() + 11644473600000) * 10000).toString(16);