feat: disable registration

This commit is contained in:
juancwu 2026-05-17 14:30:59 +00:00
commit 39330ce821
17 changed files with 179 additions and 132 deletions

View file

@ -12,6 +12,9 @@ JWT_SECRET=
# Go duration format
JWT_EXPIRY=168h
# Set to true to block new account creation via magic link. Existing users can still log in.
DISABLE_REGISTRATION=false
MAILER_SMTP_HOST=
MAILER_SMTP_PORT=
MAILER_IMAP_HOST=