Skip to content
Myr

session cookie now httpOnly

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

authored by Aaron Heckmann · committed by Aaron Heckmann · parent 0849768 · Browse files · 1 file+2 added−0 removed
This commit

State

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

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:lib/express/plugins/session.js+2 added
178 unmodified lines
179 */180 181 init: function(options) {182 this.merge(options || {})183 this.cookie = this.cookie || {}184 this.cookie.httpOnly = true185 this.store = new (this.dataStore || exports.Store.Memory)(options)186 this.startReaper()187 },188
45 unmodified lines