feat(auth): bootstrap protected support and first owner users
This commit is contained in:
@ -4,5 +4,12 @@ BETTER_AUTH_URL="http://localhost:3001"
|
||||
CMS_ADMIN_ORIGIN="http://localhost:3001"
|
||||
CMS_WEB_ORIGIN="http://localhost:3000"
|
||||
CMS_ADMIN_REGISTRATION_ENABLED="true"
|
||||
# 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_EMAIL="support@cms.local"
|
||||
CMS_SUPPORT_PASSWORD="change-me-support-password"
|
||||
CMS_SUPPORT_NAME="Technical Support"
|
||||
# Optional dev bypass role for admin middleware. Leave empty to require auth login.
|
||||
# CMS_DEV_ROLE="admin"
|
||||
|
||||
Reference in New Issue
Block a user