We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de054ee commit a006bd3Copy full SHA for a006bd3
PokemonGo.RocketAPI/Rpc/Login.cs
@@ -46,9 +46,9 @@ public async Task DoGoogleLogin()
46
await SetServer();
47
}
48
49
- public async Task DoPtcLogin(string username, string password)
+ public async Task DoPtcLogin()
50
{
51
- _client.AuthToken = await PtcLogin.GetAccessToken(username, password);
+ _client.AuthToken = await PtcLogin.GetAccessToken(_client.Settings.PtcUsername, _client.Settings.PtcPassword);
52
_client.AuthType = AuthType.Ptc;
53
54
0 commit comments