Update lib/index.js

Change default cookie key.
This commit is contained in:
Michael Robinson 2013-02-15 23:49:56 +13:00
parent efa397c597
commit 012bdbeb8c

View File

@ -5,7 +5,7 @@ var connectUtils = require('connect').utils,
function authorize(options) { function authorize(options) {
var defaults = { var defaults = {
passport: require('passport'), passport: require('passport'),
key: 'express.sid', key: 'connect.sid',
secret: null, secret: null,
store: null, store: null,
success: null, success: null,