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.
This commit is contained in:
1 parent
73d0856004
commit
46c34a6323
28 files changed
+636
-45
No files matched your search
@@ -12,9 +12,6 @@ export const WORKSHOP_STARTED_AT_FIELD = "startedAt";
|
||||
/** Ignore submits that arrive faster than a person can fill the form. */
|
||||
export const WORKSHOP_MIN_FILL_MS = 4_000;
|
||||
|
||||
/** Proposed retention. Inquiries that do not lead to a workshop are deleted after this. */
|
||||
export const WORKSHOP_INQUIRY_RETENTION_MS = 365 * 24 * 60 * 60 * 1000;
|
||||
|
||||
export const WORKSHOP_CHALLENGE_IDS = [
|
||||
"members-rarely-vote",
|
||||
"preparing-the-board",
|
||||
|
||||
Reference in new issue
Block a user