Use Steam ID as username

This commit is contained in:
Gucheng Wang
2022-10-18 22:07:20 +08:00
parent c5293f428d
commit 8b222ce2e3

View File

@ -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