Merge pull request #1 from elisee/patch-1
Use sessionKey over hard-coded "express.sid"
This commit is contained in:
commit
eca01e0187
@ -18,7 +18,7 @@ function authorize(options){
|
||||
|
||||
data.cookie = connectUtils.parseSignedCookies(parsedCookie, sessionSecret);
|
||||
|
||||
data.sessionID = data.cookie['express.sid'];
|
||||
data.sessionID = data.cookie[sessionKey];
|
||||
|
||||
sessionStore.get(data.sessionID, function(err, session){
|
||||
|
||||
|
Reference in New Issue
Block a user