hedgedoc/src
David Mehren 931a168e5d 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 <git@herrmehren.de>
2022-02-27 20:55:13 +01:00
..
api fix: openapi decorator 2022-02-27 18:40:53 +01:00
auth refactor: use a base dto class 2022-02-20 20:56:09 +01:00
authors refactor(author): lazy-load relations 2021-11-16 18:45:40 +01:00
config refactor(config): type config mocks 2022-01-30 22:19:50 +01:00
errors fix: correctly initialize exception mapping 2022-02-14 11:28:02 +01:00
frontend-config refactor: use a base dto class 2022-02-20 20:56:09 +01:00
groups refactor: use a base dto class 2022-02-20 20:56:09 +01:00
history refactor: use a base dto class 2022-02-20 20:56:09 +01:00
identity refactor: move error messages from controller to service 2022-02-07 00:08:41 +01:00
logger Enforce import order with prettier 2021-08-29 18:45:46 +02:00
media refactor: use a base dto class 2022-02-20 20:56:09 +01:00
monitoring refactor: use a base dto class 2022-02-20 20:56:09 +01:00
notes refactor: use a base dto class 2022-02-20 20:56:09 +01:00
permissions refactor: move permissions decorator into api utils dir 2022-02-20 20:56:09 +01:00
revisions refactor: use a base dto class 2022-02-20 20:56:09 +01:00
users refactor: use a base dto class 2022-02-20 20:56:09 +01:00
utils fix(session-middleware): don't hardcode database ttl 2022-02-27 20:55:13 +01:00
app.module.ts refactor(config): extract note config from app config 2022-01-30 22:19:50 +01:00
main.ts fix: correctly initialize exception mapping 2022-02-14 11:28:02 +01:00
seed.ts refactor(user): lazy-load relations 2021-12-05 22:03:41 +01:00