Skip to content
Myr

Auto use(Cookie) when use(Session). Closes #183

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 8309537 · Browse files · 3 files+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+1 added−2 removed

  • tests:+0 added−1 removed
  • other:+1 added−1 removed

3 files+1 added−2 removed

modified:examples/chat/app.js-1 removed
modified:lib/express/plugins/session.js+1 added
155 unmodified lines
156 * @api private157 */158 159 init: function(options) {160 use(require('express/plugins/cookie').Cookie)161 process.mixin(this, options)162 this.store = new (this.dataStore || exports.Store.Memory)(options)163 this.startReaper()164 },
42 unmodified lines
modified:spec/spec.plugins.session.js-1 removed