Add an authenticated POST /api/v1/invites endpoint that mints a single-use, 7-day registration link after the first-user bootstrap. Expose it via a new "Invite" section on the admin page and a `brewlog invite create` CLI command. The registration_tokens table, repository, and NewRegistrationToken already supported additional tokens; this adds the authenticated surfaces (session cookie or bearer token) to trigger creation. |
||
|---|---|---|
| .. | ||
| backup_cli.rs | ||
| bags_cli.rs | ||
| brews_cli.rs | ||
| cafes_cli.rs | ||
| cups_cli.rs | ||
| gear_cli.rs | ||
| helpers.rs | ||
| invites_cli.rs | ||
| main.rs | ||
| roasters_cli.rs | ||
| roasts_cli.rs | ||
| test_macros.rs | ||
| timeline_cli.rs | ||
| tokens_cli.rs | ||