From 9557d456e819453e155e939a6d2508f43cba4d4a Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 1 Dec 2022 17:12:16 +0200 Subject: [PATCH] fix: Generate trial in `scripts/develop.sh` (#5231) --- scripts/develop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/develop.sh b/scripts/develop.sh index 30e7b8eb1e..4cb08443ac 100755 --- a/scripts/develop.sh +++ b/scripts/develop.sh @@ -135,7 +135,7 @@ fatal() { if [ ! -f "${PROJECT_ROOT}/.coderv2/developsh-did-first-setup" ]; then # Try to create the initial admin user. - if "${CODER_DEV_SHIM}" login http://127.0.0.1:3000 --first-user-username=admin --first-user-email=admin@coder.com --first-user-password="${password}"; then + if "${CODER_DEV_SHIM}" login http://127.0.0.1:3000 --first-user-username=admin --first-user-email=admin@coder.com --first-user-password="${password}" --first-user-trial=true; then # Only create this file if an admin user was successfully # created, otherwise we won't retry on a later attempt. touch "${PROJECT_ROOT}/.coderv2/developsh-did-first-setup"