brewlog/src/application/routes/api/auth/mod.rs
Niels Göttsch 9cf8ce5d79 feat(auth): generate additional invite links for onboarding users
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.
2026-07-16 12:38:36 +02:00

3 lines
72 B
Rust

pub(crate) mod invites;
pub(crate) mod tokens;
pub(crate) mod webauthn;