Keep sign-ups open until the owner finishes setup (#28)

This commit is contained in:
michael authored and GitHub committed 2026-11-22 21:40:05 -05:00
1 parent f3157b71f3
commit a66efa11e0
9 files changed
+20 -15

No files matched your search

+4
View File
@@ -87,6 +87,10 @@ Rules (CI checks them):
create its admin on first visit, set `first_visit_claims_admin: true` in `cottage.yml`: Cottage
then keeps the app private to its owner until they've finished setup. Its `health_path` must
be a plain path other than `/`, because that path stays reachable while the app is private.
If a setting would stop the owner creating that first account (sign-ups off, invite only),
give it `setup_value` with the value that lets them in: `{ key: SIGNUPS_ALLOWED, type: bool,
default: "false", editable: true, setup_value: "true" }`. The app runs with it while it's
private, and the owner's own choice applies when they finish setup.
- Outgoing mail goes through the owner's own provider (see Outgoing mail); port 25 is blocked.
- A published version is never edited, not even a comment. Change anything in a recipe and bump
the `-c` revision.