Updating admin password sync command

This commit is contained in:
Lukas 2024-04-29 13:25:00 +02:00
parent fe75ae7610
commit 31f0580b55
No known key found for this signature in database
GPG key ID: B7940328383214B0

View file

@ -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
}