From 8b222ce2e396dc52feb3b6adc55d3ad58d31d4b3 Mon Sep 17 00:00:00 2001 From: Gucheng Wang Date: Tue, 18 Oct 2022 22:07:20 +0800 Subject: [PATCH] Use Steam ID as username --- idp/goth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idp/goth.go b/idp/goth.go index 5853fb97..7156c773 100644 --- a/idp/goth.go +++ b/idp/goth.go @@ -282,7 +282,7 @@ func getUser(gothUser goth.User, provider string) *UserInfo { } } if provider == "steam" { - user.Username = user.DisplayName + user.Username = user.Id user.Email = "" } return &user