Files
supermarket/internal/web/templates
davidandClaude Opus 5.5 96404a3580 Phase 10, part 1: users, sessions and form tokens
Schema 32 adds users, memberships and sessions, on both databases.
internal/users keeps accounts (Argon2id passwords), roles and modules,
and sessions whose rows hold only a hash of the cookie's value; they end
after a week unused or 30 days. On the server edition, every page but the
public ones needs a session and sends others to /signin. Every edition's
forms now carry a CSRF token (a cookie repeated in each form, added as
pages render; htmx sends it as a header), besides the same-origin check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 08:49:45 -07:00
..
2026-11-24 06:31:42 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 12:38:50 -07:00
2026-11-24 07:07:47 -07:00