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.
12 lines
392 B
TypeScript
12 lines
392 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import login from "../../messages/en/pages/login.json";
|
|
import { MAGIC_LINK_TTL_MINUTES } from "../../lib/privacyRetention";
|
|
|
|
describe("privacy retention copy", () => {
|
|
it("states the login link lifetime in the sent state", () => {
|
|
expect(login.successBody).toContain(
|
|
`works for ${MAGIC_LINK_TTL_MINUTES} minutes`,
|
|
);
|
|
});
|
|
});
|