mirror of https://github.com/tailscale/tailscale/
ipn: only use Prefs, not computed stateKey, to determine server mode
When the service was running without a client (e.g. after a reboot) and then the owner logs in and the GUI attaches, the computed state key changed to "" (driven by frontend prefs), and then it was falling out of server mode, despite the GUI-provided prefs still saying it wanted server mode. Also add some logging. And remove a scary "Access denied" from a user-visible error, making the two possible already-in-use error messages consistent with each other.pull/892/head
parent
de5da37a22
commit
07b6ffd55c
Loading…
Reference in New Issue