Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(session-middleware): don't hardcode database ttl
The cookie expiration is taken from the config, but the expiration of session data in the database was hardcoded. This removes the hardcoded value, so TypeormStore defaults to cookie.maxAge. References: https://github.com/nykula/connect-typeorm#options https://github.com/expressjs/session#cookiemaxage Signed-off-by: David Mehren <[email protected]>
- Loading branch information