overseerr icon indicating copy to clipboard operation
overseerr copied to clipboard

fix: set the correct TTL for the cookie store

Open gauthier-th opened this issue 4 months ago • 0 comments

Description

The time-to-live (TTL) of cookies stored in the database was incorrect because the connect-typeorm library takes a TTL in seconds and not milliseconds, making cookies valid for ~82 years instead of 30 days.

cf. https://github.com/Fallenbagel/jellyseerr/issues/991 & https://github.com/Fallenbagel/jellyseerr/pull/992

Screenshot (if UI-related)

To-Dos

  • [x] Successful build yarn build
  • [ ] Translation keys yarn i18n:extract
  • [ ] Database migration (if required)

gauthier-th avatar Oct 02 '24 19:10 gauthier-th