fix: admin password sync for forgejo v7 (#445)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/445 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Lukas <info@devls.de> Co-committed-by: Lukas <info@devls.de>
This commit is contained in:
parent
fe75ae7610
commit
a147236d09
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue