mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 07:02:33 -08:00
The add closure used len(res.Usernames) > max, letting one extra username through the client's Max, and the client-supplied Max was used unclamped. Honor Max exactly and clamp it to a 100-username ceiling; the list is only a login hint. Updates tailscale/corp#50380 Signed-off-by: James Tucker <[email protected]>