Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ttl option, which comes prior to cookie maxAge. Now session ttl…
… is (options.ttl, cookie.maxAge, oneDay) whichever defined first. If options.ttl is not defined, previous behaviour is preserved.
- Loading branch information