From 3a6995d5ccf111d8fc98b240f9c52b0700e3ef8b Mon Sep 17 00:00:00 2001 From: James Harmison Date: Thu, 4 Jul 2024 11:28:10 -0400 Subject: [PATCH] fix: prevent admin password update from repeatedly triggering password reset --- 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 }