tailscale/cmd/tailscaled
Brad Fitzpatrick f99e63bb17 ipn: don't Logout when Windows GUI disconnects
Logout used to be a no-op, so the ipnserver previously synthensized a Logout
on disconnect. Now that Logout actually invalidates the node key that was
forcing all GUI closes to log people out.

Instead, add a method to LocalBackend to specifically mean "the
Windows GUI closed, please forget all the state".

Fixes tailscale/corp#1591 (ignoring the notification issues, tracked elsewhere)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-20 13:14:10 -07:00
..
debug.go Revert "cmd/tailscaled: split package main into main shim + package" 2021-03-25 09:06:00 -07:00
depaware.txt client/tailscale/apitype: move local API types to new apitype package 2021-04-13 08:13:46 -07:00
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 2021-03-31 15:44:04 -07:00
tailscaled_notwindows.go Revert "cmd/tailscaled: split package main into main shim + package" 2021-03-25 09:06:00 -07:00
tailscaled_windows.go net/dns: return error from NewOSManager, use it to initialize NM. 2021-04-12 15:51:37 -07:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go ipn: don't Logout when Windows GUI disconnects 2021-04-20 13:14:10 -07:00
tailscaled.service cmd/tailscaled/tailscaled.service: revert recent hardening for now 2021-02-01 13:37:48 -08:00