Commit 76a4d2c
fix(quick-deploy): only show IOTP reset hint when it actually works
The bootstrap helper's `reset` command is a no-op when configured users
exist (reason: user_exists) — it clears state files but cmd_init_internal
immediately detects the existing user and returns user_exists again.
Remove the IOTP management section from the "already configured" banner
where reset won't help. Keep the reset hint only in the "setup complete"
banner (reason: completed) where it genuinely regenerates an IOTP.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f714fa4 commit 76a4d2c
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | 496 | | |
505 | 497 | | |
506 | 498 | | |
| |||
548 | 540 | | |
549 | 541 | | |
550 | 542 | | |
551 | | - | |
552 | 543 | | |
553 | 544 | | |
554 | 545 | | |
| |||
565 | 556 | | |
566 | 557 | | |
567 | 558 | | |
568 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
569 | 562 | | |
570 | 563 | | |
571 | 564 | | |
| |||
0 commit comments