cmd/tailscale/cli: don't force an interactive login on --reset.

Fixes #1778

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/1782/head
David Anderson 3 years ago committed by Dave Anderson
parent 36d030cc36
commit 30629c430a

@ -435,7 +435,9 @@ func runUp(ctx context.Context, args []string) error {
}
bc.Start(opts)
startLoginInteractive()
if upArgs.forceReauth {
startLoginInteractive()
}
}
select {

Loading…
Cancel
Save