Skip to content

Commit

Permalink
Lowercase the user name
Browse files Browse the repository at this point in the history
  • Loading branch information
kotx committed Dec 8, 2024
1 parent d82c32b commit 4b277a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ func main() {
}

if who != nil {
userName, _, _ := strings.Cut(who.UserProfile.LoginName, "@")
loginName := strings.ToLower(who.UserProfile.LoginName)
userName, _, _ := strings.Cut(loginName, "@")

slog.Debug("tailscale", slog.Group("whois",
slog.Group("node", "id", who.Node.ID, "name", who.Node.Name),
Expand Down

0 comments on commit 4b277a0

Please sign in to comment.