mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 19:12:46 +08:00
In #24156 we removed a lot of unnecessary calls to user.Current, which can take a long time in Active Directory environments. This commit removes a few other uses of user.Current where we were doing a full user lookup only to find the user's home directory, which is usually more readily available via the environment.