2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

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
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
secret: 'session_secret', // the session_secret to parse the cookie
store: sessionStore, // we NEED to use a sessionstore. no memorystore please