Skip to content

fix(cli): preserve existing admin password during setup - #11522

Merged
diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.51from
pacocartones:fix/11494-preserve-setup-password
Aug 25, 2026
Merged

diegosouzapw merged 1 commit into
diegosouzapw:release/v3.8.51from
pacocartones:fix/11494-preserve-setup-password

Conversation

@pacocartones

Copy link
Copy Markdown
Contributor

Fixes #11494. Prevents INITIAL_PASSWORD from overwriting an existing admin password during later setup runs while preserving explicit password and first-boot provisioning behavior. Tests: 10/10 pass; ESLint pass; diff check clean.

@diegosouzapw
diegosouzapw merged commit a8dbf7b into diegosouzapw:release/v3.8.51 Aug 25, 2026
7 of 16 checks passed
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…#11522)

Validated in a combined 10-PR batch worktree off release/v3.8.51 tip. Fixes diegosouzapw#11494.
- Focused test: tests/unit/cli-setup-command.test.ts — 10/10 pass
- typecheck:core, file-size, changelog-integrity, complexity, cognitive-complexity gates — all OK
- Full-repo lint: 503 pre-existing problems confirmed identical on the pure release/v3.8.51 tip (isolated probe) — unrelated to this diff (bin/cli only)

⚠️ base-red inherited: diegosouzapw#11449

Thanks for preventing INITIAL_PASSWORD from silently overwriting an operator's already-set admin password.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] CLI: any omniroute setup run silently resets the dashboard admin password to CHANGEME

2 participants