diff options
author | Marcel Klehr <mklehr@gmx.net> | 2012-11-17 14:19:09 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-11-17 14:19:09 +0100 |
commit | a39faf936877c4fcf2bfaf9cc2bb23669b87fba4 (patch) | |
tree | 0a0800eddf61632c23bbee55b4deae0440a84d73 | |
parent | faeee3e09a310ffffd1de06419138bc72815ca8c (diff) | |
download | etherpad-lite-a39faf936877c4fcf2bfaf9cc2bb23669b87fba4.zip |
Fix #1115 correctly reference session cookie
-rw-r--r-- | src/node/padaccess.js | 2 |
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 |