mirror of https://github.com/tailscale/tailscale/
ssh/tailssh: make checkStillValid also consider username changes
Currently if the policy changes and the session is logged in with local user "u1" and the new policy says they can only login with "u2" now, the user doesn't get kicked out because they had requested `rando@<ssh-host>` and the defaulting had made that go to `u1`. Signed-off-by: Maisem Ali <maisem@tailscale.com>bradfitz/ssh_banner
parent
a04eebf59f
commit
91a187bf87
Loading…
Reference in New Issue