From 1ada5131116d7a57e5b80124fee70b396b177cd0 Mon Sep 17 00:00:00 2001 From: William Johansson Date: Thu, 4 Jul 2024 16:35:21 +0200 Subject: [PATCH] add must-change-password flag to change-password command --- templates/gitea/init.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index a67166b..99e6469 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -114,7 +114,7 @@ stringData: echo '...created.' else echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync password..." - gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" + gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --must-change-password=false echo '...password sync done.' fi }