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 authored and Dave Anderson committed 2021-04-22 15:53:50 -07:00
1 parent 36d030cc36
commit 30629c430a
1 file changed
+3 -1
+3 -1
View File
@@ -435,7 +435,9 @@ func runUp(ctx context.Context, args []string) error {
}
bc.Start(opts)
startLoginInteractive()
if upArgs.forceReauth {
startLoginInteractive()
}
}
select {