Bug fixes
cf config init-env --forcekeeps a customCF_WEB_USERNAME. It used to be replaced by the commented# CF_WEB_USERNAME=admintemplate, silently changing the web UI login. An existingCF_WEB_USERNAMEandCF_WEB_PASSWORDare now written back exactly as they appear in the old.env(quotes,$, escapes,export, comments and multiline values included). When a password is generated next to a kept username, the output saysWeb UI login: CF_WEB_USERNAME from .env / <password>.- No crash on a malformed
.env. A line such as a quoted key ('CF_WEB_PASSWORD'=x) madeinit-env --forcefail with anIndexError; such a definition now counts as unset and a new password is generated. - Docs:
init-envrewrites the whole.envand keeps onlyCF_WEB_PASSWORDandCF_WEB_USERNAME, as written.
Full changelog: v1.27.1...v1.27.2