From 31f0580b55249fa197fb0a97bcea2e49fa8157f7 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 29 Apr 2024 13:25:00 +0200 Subject: [PATCH] Updating admin password sync 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 72ab984..7f31f6a 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 }