mirror of
https://github.com/multica-ai/multica.git
synced 2026-06-17 03:38:32 +02:00
fix: gate dev verification code behind explicit env (#1773)
* fix: gate dev verification code behind explicit env * docs: fold dev verification code into env table * docs: clarify fixed verification code opt-in --------- Co-authored-by: Eve <eve@multica.ai>
This commit is contained in:
@@ -32,6 +32,7 @@ DATABASE_URL=postgres://multica:multica@localhost:${postgres_port}/${postgres_db
|
||||
|
||||
PORT=${backend_port}
|
||||
JWT_SECRET=change-me-in-production
|
||||
MULTICA_DEV_VERIFICATION_CODE=
|
||||
MULTICA_SERVER_URL=ws://localhost:${backend_port}/ws
|
||||
MULTICA_APP_URL=${frontend_origin}
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ function Start-LocalInstall {
|
||||
Write-Host " multica setup self-host " -NoNewline; Write-Host "# Configure + authenticate + start daemon" -ForegroundColor DarkGray
|
||||
Write-Host ""
|
||||
Write-Host " Login: configure RESEND_API_KEY in .env for email codes,"
|
||||
Write-Host " or set APP_ENV=development in .env to enable the dev master code 888888."
|
||||
Write-Host " or read the generated code from backend logs when Resend is unset."
|
||||
Write-Host ""
|
||||
Write-Host " To stop all services:"
|
||||
Write-Host ' $env:MULTICA_MODE="stop"; irm https://raw.githubusercontent.com/multica-ai/multica/main/scripts/install.ps1 | iex'
|
||||
|
||||
@@ -393,7 +393,7 @@ run_with_server() {
|
||||
printf " ${CYAN}multica setup self-host${RESET} # Configure + authenticate + start daemon\n"
|
||||
printf "\n"
|
||||
printf " ${BOLD}Login:${RESET} configure ${CYAN}RESEND_API_KEY${RESET} in .env for email codes,\n"
|
||||
printf " or set ${CYAN}APP_ENV=development${RESET} in .env to enable the dev master code ${BOLD}888888${RESET}.\n"
|
||||
printf " or read the generated code from backend logs when Resend is unset.\n"
|
||||
printf "\n"
|
||||
printf " ${BOLD}To stop all services:${RESET}\n"
|
||||
printf " curl -fsSL https://raw.githubusercontent.com/multica-ai/multica/main/scripts/install.sh | bash -s -- --stop\n"
|
||||
|
||||
Reference in New Issue
Block a user