Delete unused login links each day, keep those URLs out of logs, and write the privacy-policy numbers #103

Merged
an.di merged 3 commits from adilallo/fix/CR-251-link-hygiene into main 2026-11-11 01:02:26 +00:00
3 Commits
Author SHA1 Message Date
adilallo a8b23bddc2 Keep expired invitation hashes so a request for a new link still sends mail.
Clearing the hash made the expired page report success without sending, and made the invite look accepted.
2026-11-10 15:43:30 -07:00
adilallo b4d0d085d3 Record the retention and hosting facts the privacy policy still has in brackets.
Login links work for 60 minutes, unused rows are gone within a day, logs last 14 days, and backups are 30 days on MEDLab Cloudron in the United States. Live /privacy stays on the current page until counsel reads this text.
2026-11-10 15:34:35 -07:00
adilallo 46c34a6323 Delete unused login and invite tokens on a daily job, and keep their URLs out of logs.
Expired sign-in, save-progress, email-change, and invitation tokens (and any draft they carry) are cleared by a Cloudron scheduler task. Page timing logs record the path without the query string, and mail failures log a request id instead of an address.
2026-11-10 15:34:33 -07:00