Skip to content

Commit

Permalink
Koa session cookies should be httpOnly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghnuberath committed May 24, 2016
1 parent 0edda2e commit 6217002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ravel.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class Ravel extends EventEmitter {
store: redisStore(sessionStoreArgs),
cookie: {
path: '/',
httpOnly: false,
httpOnly: true,
maxage: null,
rewrite: true,
signed: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ravel",
"version": "0.14.0",
"version": "0.14.1",
"author": "Sean McIntyre <[email protected]>",
"description": "Ravel Rapid Application Development Framework",
"keywords": [
Expand Down

0 comments on commit 6217002

Please sign in to comment.