diff --git a/docs/public-hosting.md b/docs/public-hosting.md index 11ca407..8bb0408 100644 --- a/docs/public-hosting.md +++ b/docs/public-hosting.md @@ -28,7 +28,8 @@ on a LAN. To let someone else in, send them an invite: **Settings → People → Invites** makes a link that works once, expires (a week by default), and can be pinned to one email address. It -lets that one person register while registration stays closed. +lets that one person register while registration stays closed. With email set up (below) and an +address filled in, **Create and email** sends the link to that address as well. **2. Terminate TLS in front of it, and forward the scheme.** The app marks the session cookie `Secure` and sends HSTS only when it can tell the request arrived over diff --git a/frontend/src/components/InviteList.vue b/frontend/src/components/InviteList.vue index 31eb7a8..27c628a 100644 --- a/frontend/src/components/InviteList.vue +++ b/frontend/src/components/InviteList.vue @@ -1,5 +1,5 @@ ", LINK, 1) + assert "" in email.text + assert "within a day" in email.text + + +def test_the_html_fetches_nothing(): + """No remote images or fonts: the app sends with no outbound network, and a remote + image in an email is a tracking pixel.""" + html = mail_templates.password_reset("Inkwell", "a@example.test", LINK).html + assert "