Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Update session hash calculation.

Mike Cao128f15092e6a
diff --git a/lib/session.js b/lib/session.js
index 694465bc9..f91545f34 100644
--- a/lib/session.js
+++ b/lib/session.js
@@ -32,7 +32,7 @@ export async function getSession(req) {
}
const { website_id } = website;
- const session_uuid = uuid(website_id, hostname, ip, userAgent, os);
+ const session_uuid = uuid(website_id, hostname, ip, userAgent);
let session = await getSessionByUuid(session_uuid);