summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormluto <m@luto.at>2013-03-31 10:56:14 +0200
committermluto <m@luto.at>2013-03-31 10:56:14 +0200
commit911bfb30e4d1f11ea569cc0d922085821dd23158 (patch)
treeb00311650cc69c205c69f8ddc4c12e5e93d28987
parent30cae9097f2979048a2491b2ec032aa9548121a2 (diff)
downloadetherpad-lite-911bfb30e4d1f11ea569cc0d922085821dd23158.zip
Log when a sessionID in checkAccess is not found
-rw-r--r--src/node/db/SecurityManager.js1
1 files changed, 1 insertions, 0 deletions
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;
}