fix(mosaic): mask password input in TUI login prompt #449

Merged
jason.woltje merged 1 commits from fix/tui-password-mask into main 2026-04-06 00:33:54 +00:00

1 Commits

Author SHA1 Message Date
Jarvis
dd42b6079f fix(mosaic): mask password input in TUI login prompt
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
The TUI login flow used a plain readline.question() for the password
prompt, which echoed characters to the terminal. Replaced with the
existing promptSecret() helper that uses TTY raw mode to suppress
echo — the same function already used by `mosaic gateway login`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 19:28:43 -05:00