Browse Source

KspAuthenticator: remove debug print

mj-deploy
Standa Lukeš 4 years ago
parent
commit
50b8264971
  1. 1
      server/Ksp.WebServer/KspAuthenticator.cs

1
server/Ksp.WebServer/KspAuthenticator.cs

@ -38,7 +38,6 @@ namespace Ksp.WebServer
async Task<IHtmlDocument> FetchPage(string url, string authCookie) async Task<IHtmlDocument> FetchPage(string url, string authCookie)
{ {
Console.WriteLine($"AuthCookie={authCookie}");
var cookies = new CookieContainer(); var cookies = new CookieContainer();
cookies.Add(new Uri(kspProxyConfig.Host), new Cookie("ksp_auth", Uri.EscapeDataString(authCookie))); cookies.Add(new Uri(kspProxyConfig.Host), new Cookie("ksp_auth", Uri.EscapeDataString(authCookie)));
var c = new HttpClient(new HttpClientHandler { CookieContainer = cookies }); var c = new HttpClient(new HttpClientHandler { CookieContainer = cookies });