diff --git a/src/node/padaccess.js b/src/node/padaccess.js index 4388ab946..d87809149 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