feat(admin-auth): add first-start onboarding flow and dev db reset command
This commit is contained in:
@ -3,13 +3,12 @@ BETTER_AUTH_SECRET="replace-with-long-random-secret"
|
||||
BETTER_AUTH_URL="http://localhost:3001"
|
||||
CMS_ADMIN_ORIGIN="http://localhost:3001"
|
||||
CMS_WEB_ORIGIN="http://localhost:3000"
|
||||
CMS_ADMIN_REGISTRATION_ENABLED="true"
|
||||
CMS_ADMIN_SELF_REGISTRATION_ENABLED="false"
|
||||
# Bootstrap system users (used only when creating missing users)
|
||||
CMS_OWNER_EMAIL="owner@cms.local"
|
||||
CMS_OWNER_PASSWORD="change-me-owner-password"
|
||||
CMS_OWNER_NAME="Owner"
|
||||
CMS_SUPPORT_USERNAME="support"
|
||||
CMS_SUPPORT_EMAIL="support@cms.local"
|
||||
CMS_SUPPORT_PASSWORD="change-me-support-password"
|
||||
CMS_SUPPORT_NAME="Technical Support"
|
||||
CMS_SUPPORT_LOGIN_KEY="support-access-change-me"
|
||||
# Optional dev bypass role for admin middleware. Leave empty to require auth login.
|
||||
# CMS_DEV_ROLE="admin"
|
||||
|
||||
Reference in New Issue
Block a user