Skip to content

Commit

Permalink
Setting a default session secret to work with connect 0.5.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricemach committed Jan 14, 2011
1 parent 5ccf1cb commit 68e20cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/zappa.coffee
Expand Up @@ -88,7 +88,8 @@ class App
@http_server.use express.staticProvider("#{process.cwd()}/public")
@http_server.use express.bodyDecoder()
@http_server.use express.cookieDecoder()
@http_server.use express.session()
# TODO: Make the secret configurable.
@http_server.use express.session(secret: 'hackme')

# App-level vars, exposed to handlers as [app]."
@vars = {}
Expand Down

0 comments on commit 68e20cc

Please sign in to comment.