diff --git a/CloudronManifest.json b/CloudronManifest.json index cf03c47..4f9ec1e 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -49,7 +49,12 @@ ], "changelog": "file://CHANGELOG.md", "postInstallMessage": "file://POSTINSTALL.md", - "minBoxVersion": "7.5.1", + "checklist": { + "change-default-password": { + "message": "Change the default admin password" + } + }, + "minBoxVersion": "8.1.0", "forumUrl": "https://forum.cloudron.io/category/19/gitea", "documentationUrl": "https://docs.cloudron.io/apps/gitea/" } diff --git a/POSTINSTALL.md b/POSTINSTALL.md index 4ec3c9d..c5cb1a5 100644 --- a/POSTINSTALL.md +++ b/POSTINSTALL.md @@ -3,8 +3,6 @@ This app is pre-setup with an admin account. The initial credentials are: **Username**: root
**Password**: changeme
-Please change the admin password immediately. - Use the `Local` authentication source for logging in as admin. diff --git a/start.sh b/start.sh index eeb9522..4651a61 100755 --- a/start.sh +++ b/start.sh @@ -11,7 +11,7 @@ setup_oidc_source() { now=$(date +%s) mysql -u"${CLOUDRON_MYSQL_USERNAME}" -p"${CLOUDRON_MYSQL_PASSWORD}" -h mysql --database="${CLOUDRON_MYSQL_DATABASE}" -e \ - "REPLACE INTO login_source (id, type, name, is_active, cfg, created_unix, updated_unix) VALUES (1,6,'cloudron', 1,'{\"Provider\":\"openidConnect\",\"ClientID\":\"${CLOUDRON_OIDC_CLIENT_ID}\",\"ClientSecret\":\"${CLOUDRON_OIDC_CLIENT_SECRET}\",\"OpenIDConnectAutoDiscoveryURL\":\"${CLOUDRON_OIDC_ISSUER}/.well-known/openid-configuration\",\"CustomURLMapping\":null,\"IconURL\":\"\",\"Scopes\":[\"openid email profile\"],\"RequiredClaimName\":\"\",\"RequiredClaimValue\":\"\",\"GroupClaimName\":\"\",\"AdminGroup\":\"\",\"GroupTeamMap\":\"\",\"GroupTeamMapRemoval\":false,\"RestrictedGroup\":\"\"}','${now}','${now}')" + "REPLACE INTO login_source (id, type, name, is_active, cfg, created_unix, updated_unix) VALUES (1,6,'${CLOUDRON_OIDC_PROVIDER_NAME:-Cloudron}', 1,'{\"Provider\":\"openidConnect\",\"ClientID\":\"${CLOUDRON_OIDC_CLIENT_ID}\",\"ClientSecret\":\"${CLOUDRON_OIDC_CLIENT_SECRET}\",\"OpenIDConnectAutoDiscoveryURL\":\"${CLOUDRON_OIDC_ISSUER}/.well-known/openid-configuration\",\"CustomURLMapping\":null,\"IconURL\":\"\",\"Scopes\":[\"openid email profile\"],\"RequiredClaimName\":\"\",\"RequiredClaimValue\":\"\",\"GroupClaimName\":\"\",\"AdminGroup\":\"\",\"GroupTeamMap\":\"\",\"GroupTeamMapRemoval\":false,\"RestrictedGroup\":\"\"}','${now}','${now}')" } setup_root_user() {