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

Fixes #1778

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2021-04-22 15:04:53 -07:00 committed by Dave Anderson
parent 36d030cc36
commit 30629c430a

View File

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