summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorScott Graham <scott.github@h4ck3r.net>2026-04-17 16:22:18 -0700
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2026-04-17 23:31:18 -0500
commitcb5a53c424ebf59ad4a4baf7f872736c9e59697c (patch)
treec3e2d19cfa73006a619680a280415d1c783c0663 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent618dfd408146a7e2df938660fed42fc60497cfa8 (diff)
downloadtailscale-cb5a53c424ebf59ad4a4baf7f872736c9e59697c.tar.xz
tailscale-cb5a53c424ebf59ad4a4baf7f872736c9e59697c.zip
ipn/ipnlocal: preserve b.loginFlags in auto-login cc.Login calls
LocalBackend stores loginFlags at construction so that per-instance properties (e.g. LoginEphemeral set by tsnet.Server.Ephemeral) persist for the session. StartLoginInteractiveAs already merges b.loginFlags into its cc.Login call, but the two auto-login call sites pass bare controlclient.LoginDefault, silently dropping any stored flags. Merge b.loginFlags at both auto-login call sites to match the existing StartLoginInteractiveAs pattern. LoginDefault is zero so this is a no-op when loginFlags is empty, and restores the documented behavior when it isn't. Fixes #15852 Signed-off-by: Scott Graham <scott.github@h4ck3r.net>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions