From 6d4f2102379e0304cab2985a509650abf9afd46b Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 1 Dec 2022 14:54:06 +0000 Subject: [PATCH] fix: Generate trial in `scripts/develop.sh` --- scripts/develop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/develop.sh b/scripts/develop.sh index 30e7b8eb1edff..4cb08443acdfc 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"