summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2012-11-17 14:19:09 +0100
committerMarcel Klehr <mklehr@gmx.net>2012-11-17 14:19:09 +0100
commita39faf936877c4fcf2bfaf9cc2bb23669b87fba4 (patch)
tree0a0800eddf61632c23bbee55b4deae0440a84d73
parentfaeee3e09a310ffffd1de06419138bc72815ca8c (diff)
downloadetherpad-lite-a39faf936877c4fcf2bfaf9cc2bb23669b87fba4.zip
Fix #1115 correctly reference session cookie
-rw-r--r--src/node/padaccess.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/padaccess.js b/src/node/padaccess.js
index 4388ab94..d8780914 100644
--- a/src/node/padaccess.js
+++ b/src/node/padaccess.js
@@ -7,7 +7,7 @@ module.exports = function (req, res, callback) {
// FIXME: Why is this ever undefined??
if (req.cookies === undefined) req.cookies = {};
- securityManager.checkAccess(req.params.pad, req.cookies.sessionid, req.cookies.token, req.cookies.password, function(err, accessObj) {
+ securityManager.checkAccess(req.params.pad, req.cookies.sessionID, req.cookies.token, req.cookies.password, function(err, accessObj) {
if(ERR(err, callback)) return;
//there is access, continue