diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 78c9e91a6..e2326e306 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2486,7 +2486,7 @@ func (b *LocalBackend) popBrowserAuthNow() { // Deconfigure the local network data plane if: // - seamless key renewal is not enabled; // - key is expired (in which case tailnet connectivity is down anyway). - if !b.seamlessRenewalEnabled() || b.keyExpired { + if !b.seamlessRenewalEnabled() || expired { b.blockEngineUpdates(true) b.stopEngineAndWait() }