overseerr
overseerr copied to clipboard
fix: set the correct TTL for the cookie store
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)