@franzzemen/brokenstock-shell 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3358,7 +3358,12 @@ class Login {
3358
3358
  onTakeOver() {
3359
3359
  this.errors = [];
3360
3360
  this.selected.set(new Set());
3361
- this.#commandService.execute('login --force');
3361
+ // ⚠ This used to hand the terminal `login --force`, with no username or
3362
+ // password on it — the terminal's login command reads its credentials from
3363
+ // the words typed after it, found none, and answered "Invalid syntax". The
3364
+ // credentials the user already typed are on this form; sign in with them,
3365
+ // the same way the other two buttons here do.
3366
+ this.#doLogin(true);
3362
3367
  }
3363
3368
  onSignInAsWell() {
3364
3369
  this.errors = [];