hedgedoc/src/utils
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
..
arrayDuplicatCheck.ts NotesService: Finished hardcoded functions 2021-02-20 16:09:02 +01:00
base.dto..ts refactor: use a base dto class 2022-02-20 20:56:09 +01:00
createSpecialGroups.ts feat: setupSpecialGroups in bootstrap 2021-10-31 00:06:55 +02:00
frontend-integration.ts Add dev-proxy to frontend dev server 2021-09-23 22:36:13 +02:00
password.spec.ts chore: move password related functions from AuthService to utils file 2021-08-08 21:47:13 +02:00
password.ts chore: move password related functions from AuthService to utils file 2021-08-08 21:47:13 +02:00
serverVersion.spec.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00
serverVersion.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00
session.ts fix(session-middleware): don't hardcode database ttl 2022-02-27 20:55:13 +01:00
setup-pipes.ts Log errors in ValidationPipe 2021-09-23 22:05:57 +02:00
swagger.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00
timestamp.ts auth: Integrate suggestions by @davidmehren 2021-01-23 21:24:11 +01:00
use-unless.ts Add dev-proxy to frontend dev server 2021-09-23 22:36:13 +02:00