Skip to content

Commit

Permalink
added timestamp to init function
Browse files Browse the repository at this point in the history
  • Loading branch information
run2go committed Mar 3, 2024
1 parent 92ac4df commit 9a417df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function create() {
}

function init(sessionId) {
update(sessionId, {sessionIp: null, containerId: null, containerName: null, isDebug: false, isAdmin: false, isLoggedIn: false, screenWidth: 0, screenHeight: 0, timestamp: null});
update(sessionId, {sessionIp: null, containerId: null, containerName: null, isDebug: false, isAdmin: false, isLoggedIn: false, screenWidth: 0, screenHeight: 0, timestamp: moment() });
}

// Function to validate session UUIDs
Expand Down

0 comments on commit 9a417df

Please sign in to comment.