cmd/tailscale: fix alternate ControlURL handling. (#72)
With the Fast User Switching support in Tailscale 1.34,
it is no longer necessary (nor sufficient) to exit
and restart the app, as the settings are saved upon
first connection.
Therefore:
- do not restart the app after changing the control URL,
just go back to the authentication screen.
- call `ipn/ipnlocal/local.go:Start()` to reinitialize
the backend using the new auth URL.
Fixes https://github.com/tailscale/tailscale/issues/6671
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
(cherry picked from commit 0244fd108d
)
release-branch/1.34
parent
7cdd9abc96
commit
e2fc0cb175
Loading…
Reference in New Issue