geel9 / SteamAuth

A C# library that provides vital Steam Mobile Authenticator functionality
MIT License
276 stars 102 forks source link

About AuthenticatorLinker.cs#L112 #97

Closed jwcloverain closed 1 year ago

jwcloverain commented 1 year ago

https://github.com/geel9/SteamAuth/blob/b1fc94daf33af33e39d45c645ce41a10c91c189b/SteamAuth/AuthenticatorLinker.cs#L112 I see countryCode is getting from _getUserCountry, but can't link a number that is different from the country of the account

dyc3 commented 1 year ago

Yeah the correct way to do this would be to extract the country code from the phone number. Not to mention this would also save an API call.

Jessecar96 commented 1 year ago

This is the way the official Steam app does it so that's what I went for.