ghostguild-org/server
Jennie Robinson Faber 6f9e6a3d98 feat(events): guest accounts for public event registration
Non-members who register for an event now get a persistent identity:
with consent, a status:"guest" Member is upserted and an auth cookie is
set so the "You're Registered" state survives a page refresh.

Tiered auto-login matches passwordless-auth norms — auto-login is only
safe when the account holds no privileges:
- New email → create guest + cookie
- Returning guest → cookie
- Existing non-guest (active/pending/etc.) → attach ticket only, no
  cookie, confirmation email includes a sign-in link

Guests are gated on status === "guest", so admin/middleware code that
keys on status === "active" naturally excludes them. Guests are also
treated as non-members for ticket pricing/validation to prevent picking
up member-only pricing on their second registration.
2026-04-16 21:23:31 +01:00
..
api feat(events): guest accounts for public event registration 2026-04-16 21:23:31 +01:00
config Lots of UI fixes 2025-10-08 19:02:24 +01:00
emails Refactor email templates to use plain text format and update sender addresses 2026-03-05 18:40:37 +00:00
middleware fix: use private helcimApiToken for all server-side Helcim API calls 2026-04-04 13:37:34 +01:00
migrations refactor(community): rename Community Connections → Community Ecology 2026-04-09 09:07:15 +01:00
models feat(events): guest accounts for public event registration 2026-04-16 21:23:31 +01:00
plugins Member/Ecology revamp. 2026-04-14 09:25:09 +01:00
routes fix(auth): survive missing OIDC interaction cookie on magic-link click 2026-04-15 18:18:33 +01:00
utils feat(events): guest accounts for public event registration 2026-04-16 21:23:31 +01:00