mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-03 22:36:22 +01:00
Attempt to fix ZonaQ Auth
This commit is contained in:
parent
4dff0c075a
commit
bd90b74c12
1 changed files with 4 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ protected override async Task DoLogin()
|
|||
.SetHeader("X-Requested-With", "XMLHttpRequest")
|
||||
.Build();
|
||||
|
||||
response = await ExecuteAuth(authLoginRequest);
|
||||
response = await ExecuteAuth(authLoginRequest2);
|
||||
message = JObject.Parse(response.Content)["msg"]?.ToString();
|
||||
}
|
||||
|
||||
|
|
@ -131,7 +131,9 @@ protected override async Task DoLogin()
|
|||
};
|
||||
|
||||
requestBuilder4.SetCookies(response.GetCookies());
|
||||
response = await _httpClient.ExecuteAsync(new HttpRequest(Login4Url));
|
||||
var authLoginRequest3 = requestBuilder4.Build();
|
||||
|
||||
response = await _httpClient.ExecuteAsync(authLoginRequest3);
|
||||
|
||||
UpdateCookies(response.GetCookies(), DateTime.Now + TimeSpan.FromDays(30));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue