Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Fix code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert committed May 6, 2015
1 parent 62acc22 commit a4c6856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/product.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ You can easily change the default session / cookie expiration by modifying the

app.use(stormpath.init(app, {
sessionDuration: 1000 * 60 * 15, // Make sessions expire after 15 minutes.
activeDuration: 1000 * 60 * 5, // Allow session extension, 5 minutes before expiration
sessionActiveDuration: 1000 * 60 * 5, // Allow session extension, 5 minutes before expiration
}));

By default, sessions will expire after 30 minutes (*a secure default*) with an
Expand Down

0 comments on commit a4c6856

Please sign in to comment.