feat: enforce email as primary user identity in SaaS mode
All users in SaaS mode must have an email address. The bootstrap creates the admin user with primaryEmail set to SAAS_ADMIN_EMAIL (defaults to <SAAS_ADMIN_USER>@<PUBLIC_HOST>). This prevents the admin from being locked out when self-service registration (which requires email) is enabled via the Email Connector UI. Documentation updated across all CLAUDE.md files, .env.example, user-manual.md, and installer submodule (README, .env.example, compose). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,8 +25,11 @@ POSTGRES_DB=cameleer_saas
|
||||
CLICKHOUSE_PASSWORD=change_me_in_production
|
||||
|
||||
# Admin user (created by bootstrap)
|
||||
# Email is the primary user identity in SaaS mode. The admin email defaults
|
||||
# to <SAAS_ADMIN_USER>@<PUBLIC_HOST> if not set explicitly.
|
||||
SAAS_ADMIN_USER=admin
|
||||
SAAS_ADMIN_PASS=change_me_in_production
|
||||
# SAAS_ADMIN_EMAIL=admin@example.com
|
||||
|
||||
# SMTP / email connector configuration is managed at runtime via the vendor
|
||||
# admin UI (Email Connector page at /vendor/email). No SMTP env vars needed.
|
||||
|
||||
Reference in New Issue
Block a user