Files
minstrel/internal/db/migrations/0110_drop_registration_settings.up.sql
T
bvandeusenandClaude Opus 5.5 dd27e014c0 fix(auth): an invite is the only way to an account
The README offered open registration, and the register handler still had
a branch for a registration_settings mode nothing could set. Now every
account after the first needs an invite; the first still needs the setup
token from the log. Migration 0110 drops registration_settings and its
queries, and backups no longer carry it (an older backup that holds it
restores without it). The web form asks for the invite token as required.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 08:59:25 -05:00

5 lines
240 B
SQL

-- An account needs an invite from an admin; the first account needs the
-- setup token from the server log. There is no open registration, so the
-- setting that would have chosen between the two is gone.
DROP TABLE registration_settings;