From 911bfb30e4d1f11ea569cc0d922085821dd23158 Mon Sep 17 00:00:00 2001 From: mluto Date: Sun, 31 Mar 2013 10:56:14 +0200 Subject: Log when a sessionID in checkAccess is not found --- src/node/db/SecurityManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/db/SecurityManager.js b/src/node/db/SecurityManager.js index 410204e0..06e58bc4 100644 --- a/src/node/db/SecurityManager.js +++ b/src/node/db/SecurityManager.js @@ -133,6 +133,7 @@ exports.checkAccess = function (padID, sessionCookie, token, password, callback) //skip session if it doesn't exist if(err && err.message == "sessionID does not exist") { + authLogger.debug("Auth failed: unknown session"); callback(); return; } -- cgit v1.2.3