aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-25 22:36:55 -0700
committerAdam Soltys <[email protected]>2022-08-01 22:18:18 -0700
commitd292ff4e3a1569a8808e91c21ef116117faea673 (patch)
treedc9362fd71b2754c0020e17c79a387f779c40a25 /lib
parent4079344d34e5e5310b3ea13c695cfe7c2926d68b (diff)
downloadcoinos-server-d292ff4e3a1569a8808e91c21ef116117faea673.tar.gz
coinos-server-d292ff4e3a1569a8808e91c21ef116117faea673.zip
comment out last seen check
Diffstat (limited to 'lib')
-rw-r--r--lib/sockets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js
index 30a6b49d..e216d904 100644
--- a/lib/sockets.js
+++ b/lib/sockets.js
@@ -93,7 +93,7 @@ wss.on("connection", function(ws, req) {
case "login":
let token = data;
- if (differenceInSeconds(new Date(), lastSeen[token]) < 5) return;
+ // if (differenceInSeconds(new Date(), lastSeen[token]) < 5) return;
lastSeen[token] = new Date();
try {