Corrected a minor error in the documentation.

This commit is contained in:
Rick Heere 2013-11-26 14:57:47 +01:00
parent 2bf410f130
commit efa48384c8

View File

@ -20,7 +20,7 @@ var io = require("socket.io")(server),
// set authorization for socket.io // set authorization for socket.io
io.set('authorization', passportSocketIo.authorize({ io.set('authorization', passportSocketIo.authorize({
cookieParse: express.cookieParse, cookieParser: express.cookieParser,
key: 'express.sid', // the name of the cookie where express/connect stores its session_id key: 'express.sid', // the name of the cookie where express/connect stores its session_id
secret: 'session_secret', // the session_secret to parse the cookie secret: 'session_secret', // the session_secret to parse the cookie
store: sessionStore, // we NEED to use a sessionstore. no memorystore please store: sessionStore, // we NEED to use a sessionstore. no memorystore please