crafty-controller: seed felhom-generated admin password (gokapi pattern) instead of Crafty's random one; app-page card reads default.json
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-06-26 — crafty-controller: seed a felhom-generated admin password (replaces Crafty's ugly random one)
|
||||
- **crafty-controller**: instead of reading Crafty's auto-generated (long, symbol-laden) random admin
|
||||
password, we now **seed** a clean felhom-generated one — same pattern as gokapi, so initial passwords are
|
||||
consistent across the catalog.
|
||||
- Crafty's image ships `app/config_original/default.json = {"username":"admin","password":"crafty"}`;
|
||||
"crafty" is 6 chars < Crafty's 8-char minimum, so Crafty rejected it and generated a random password.
|
||||
- New `CRAFTY_PASSWORD` deploy field (`type: password`, `generate: password:24`, locked after deploy —
|
||||
mirrors gokapi's `GOKAPI_PASSWORD`). The compose **entrypoint** overwrites the `default.json` template
|
||||
with this password before the launcher runs; on fresh install Crafty creates the `admin` user with it.
|
||||
- `initial_credentials.file` repointed `default-creds.txt` → `default.json` (same json/username/password
|
||||
keys), so the controller's app-page "Kezdeti belépési adatok" card shows the **seeded** password — the
|
||||
customer sees the same value at deploy time and on the app page.
|
||||
- Catalog-only change (reuses felhom-controller v0.84.0's initial_credentials reader + the gokapi-style
|
||||
seed). Requires a fresh install to take effect (the seed is only read on first run).
|
||||
|
||||
## 2026-06-26 — crafty-controller: surface the auto-generated initial admin password on the app page
|
||||
- **crafty-controller**: Crafty writes a random admin password to `/crafty/app/config/default-creds.txt`
|
||||
at first boot (its built-in default is rejected as "too short"). Customers had to read the container
|
||||
|
||||
Reference in New Issue
Block a user